Fix some typos (found by codespell)

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2021-06-16 21:13:25 +02:00 committed by Muayyad Alsadi
parent 039fe30a70
commit 8ef7587aa1
2 changed files with 4 additions and 4 deletions

View File

@ -876,7 +876,7 @@ class PodmanCompose:
]))
files = args.file
if not files:
print("no compose.yaml, docker-compose.yml ot container-compose.yml file found, pass files with -f")
print("no compose.yaml, docker-compose.yml or container-compose.yml file found, pass files with -f")
exit(-1)
ex = map(os.path.exists, files)
missing = [ fn0 for ex0, fn0 in zip(ex, files) if not ex0 ]
@ -900,7 +900,7 @@ class PodmanCompose:
os.chdir(dirname)
if not project_name:
# More strict then acually needed for simplicity: podman requires [a-zA-Z0-9][a-zA-Z0-9_.-]*
# More strict then actually needed for simplicity: podman requires [a-zA-Z0-9][a-zA-Z0-9_.-]*
project_name = norm_re.sub('', dir_basename.lower())
if not project_name:
raise RuntimeError("Project name [{}] normalized to empty".format(dir_basename))

View File

@ -12,8 +12,8 @@ curl http://${d1_web1_1}:8002/index.txt
we need to verify
- project base directory and prject name is `d1`
- `var12='d1/12.env'` which means `enf_file` was appened not replaced (which means that we normalize to array before merge)
- project base directory and project name is `d1`
- `var12='d1/12.env'` which means `enf_file` was appended not replaced (which means that we normalize to array before merge)
- `var2='d1/2.env'` which means that paths inside `d2/docker-compose.yml` directory are relative to `d1`