forked from extern/podman-compose
Merge pull request #21 from stefanb2/topic-command-as-string
Allow string for command
This commit is contained in:
commit
e03d8ce72e
@ -477,7 +477,9 @@ def container_to_args(cnt, dirname, podman_path, shared_vols):
|
||||
args.append(cnt.get('image')) # command, ..etc.
|
||||
command = cnt.get('command')
|
||||
if command is not None:
|
||||
# TODO: handle if command is string
|
||||
if is_str(command):
|
||||
args.extend([command])
|
||||
else:
|
||||
args.extend(command)
|
||||
return args
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user