Fix execute action
For now, execute action doesn't works. This patch fixes it. Change-Id: If8dae8073ce832ba62de56c388480760375098dd
This commit is contained in:
parent
f42c24e1e8
commit
ea685c4c92
@ -173,7 +173,8 @@ def container_unpause(request, id):
|
||||
|
||||
|
||||
def container_execute(request, id, command):
|
||||
return zunclient(request).containers.execute(id, command)
|
||||
args = {"command": command}
|
||||
return zunclient(request).containers.execute(id, **args)
|
||||
|
||||
|
||||
def container_kill(request, id, signal=None):
|
||||
|
Loading…
Reference in New Issue
Block a user