mirror of
https://github.com/containers/podman-compose.git
synced 2025-04-15 04:58:35 +02:00
Fix typos
Found via `codespell -L poped`
This commit is contained in:
parent
7942a540cd
commit
78f8cad7c4
@ -1,7 +1,7 @@
|
|||||||
---
|
---
|
||||||
- name: Manage AWX Container Images
|
- name: Manage AWX Container Images
|
||||||
block:
|
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:
|
docker_image:
|
||||||
name: "{{ awx_image }}"
|
name: "{{ awx_image }}"
|
||||||
tag: "{{ awx_version }}"
|
tag: "{{ awx_version }}"
|
||||||
|
@ -220,7 +220,7 @@ def fix_mount_dict(compose, mount_dict, proj_name, srv_name):
|
|||||||
vol = (vols.get(source, None) or {}) if source else {}
|
vol = (vols.get(source, None) or {}) if source else {}
|
||||||
name = vol.get("name", None)
|
name = vol.get("name", None)
|
||||||
mount_dict["_vol"] = vol
|
mount_dict["_vol"] = vol
|
||||||
# handle anonymouse or implied volume
|
# handle anonymous or implied volume
|
||||||
if not source:
|
if not source:
|
||||||
# missing source
|
# missing source
|
||||||
vol["name"] = "_".join(
|
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.
|
# docker-compose does not support external secrets outside of swarm mode.
|
||||||
# However accessing these via podman is trivial
|
# However accessing these via podman is trivial
|
||||||
# since these commands are directly translated to
|
# 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
|
# at the moment
|
||||||
if declared_secret.get("external", False) or declared_secret.get("name", None):
|
if declared_secret.get("external", False) or declared_secret.get("name", None):
|
||||||
secret_opts += f",uid={uid}" if uid else ""
|
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)]
|
return ["--secret", "{}{}".format(secret_name, secret_opts)]
|
||||||
|
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
'ERROR: unparseable secret: "{}", service: "{}"'.format(
|
'ERROR: unparsable secret: "{}", service: "{}"'.format(
|
||||||
secret_name, cnt["_service"]
|
secret_name, cnt["_service"]
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user