mirror of
https://github.com/containers/podman-compose.git
synced 2025-01-23 14:28:46 +01:00
Fix default external name in dict case
This commit is contained in:
parent
8ecb74916d
commit
0057a4bb31
@ -190,7 +190,7 @@ def fix_mount_dict(compose, mount_dict, proj_name, srv_name):
|
||||
elif not name:
|
||||
external = vol.get("external", None)
|
||||
if isinstance(external, dict):
|
||||
ext_name = external.get("name", None)
|
||||
ext_name = external.get("name", f"{source}")
|
||||
elif external:
|
||||
ext_name = f"{source}"
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user