From 78f8cad7c457b200c31a05471fc2b89b1a7be84c Mon Sep 17 00:00:00 2001 From: Kian-Meng Ang Date: Sat, 24 Sep 2022 22:04:17 +0800 Subject: [PATCH] Fix typos Found via `codespell -L poped` --- examples/awx17/roles/local_docker/tasks/set_image.yml | 2 +- podman_compose.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/awx17/roles/local_docker/tasks/set_image.yml b/examples/awx17/roles/local_docker/tasks/set_image.yml index 995214b..f4e60b5 100644 --- a/examples/awx17/roles/local_docker/tasks/set_image.yml +++ b/examples/awx17/roles/local_docker/tasks/set_image.yml @@ -1,7 +1,7 @@ --- - name: Manage AWX Container Images block: - - name: Export Docker awx image if it isnt local and there isnt a registry defined + - name: Export Docker awx image if it isn't local and there isn't a registry defined docker_image: name: "{{ awx_image }}" tag: "{{ awx_version }}" diff --git a/podman_compose.py b/podman_compose.py index 8c59c27..e33f520 100755 --- a/podman_compose.py +++ b/podman_compose.py @@ -220,7 +220,7 @@ def fix_mount_dict(compose, mount_dict, proj_name, srv_name): vol = (vols.get(source, None) or {}) if source else {} name = vol.get("name", None) mount_dict["_vol"] = vol - # handle anonymouse or implied volume + # handle anonymous or implied volume if not source: # missing source vol["name"] = "_".join( @@ -591,7 +591,7 @@ def get_secret_args(compose, cnt, secret): # docker-compose does not support external secrets outside of swarm mode. # However accessing these via podman is trivial # since these commands are directly translated to - # podman-create commands, albiet we can only support a 1:1 mapping + # podman-create commands, albeit we can only support a 1:1 mapping # at the moment if declared_secret.get("external", False) or declared_secret.get("name", None): secret_opts += f",uid={uid}" if uid else "" @@ -618,7 +618,7 @@ def get_secret_args(compose, cnt, secret): return ["--secret", "{}{}".format(secret_name, secret_opts)] raise ValueError( - 'ERROR: unparseable secret: "{}", service: "{}"'.format( + 'ERROR: unparsable secret: "{}", service: "{}"'.format( secret_name, cnt["_service"] ) )