mirror of
https://github.com/docker/compose.git
synced 2025-07-21 04:34:38 +02:00
referencing right segment of code
Signed-off-by: Aaron.L.Xu <likexu@harmonycloud.cn>
This commit is contained in:
parent
165eb9c91a
commit
f083526829
@ -202,7 +202,7 @@ def convert_service_to_bundle(name, service_dict, image_digest):
|
|||||||
return container_config
|
return container_config
|
||||||
|
|
||||||
|
|
||||||
# See https://github.com/docker/swarmkit/blob//agent/exec/container/container.go#L95
|
# See https://github.com/docker/swarmkit/blob/agent/exec/container/container.go#L95
|
||||||
def set_command_and_args(config, entrypoint, command):
|
def set_command_and_args(config, entrypoint, command):
|
||||||
if isinstance(entrypoint, six.string_types):
|
if isinstance(entrypoint, six.string_types):
|
||||||
entrypoint = split_command(entrypoint)
|
entrypoint = split_command(entrypoint)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user