Mixed-case directory names break 'podman create'

The default project_name uses the directory name, but 'podman create' fails if the directory is mixed case.
This commit is contained in:
wampagingwabbits 2019-11-10 14:57:33 +00:00 committed by Muayyad Alsadi
parent 12036aa54e
commit c5f8973bd5

View File

@ -794,7 +794,7 @@ class PodmanCompose:
os.chdir(dirname)
if not project_name:
project_name = dir_basename
project_name = dir_basename.lower()
self.project_name = project_name