Fix execute action

For now, execute action doesn't works. This patch fixes it.

Change-Id: If8dae8073ce832ba62de56c388480760375098dd
This commit is contained in:
Shu Muto 2017-06-14 18:11:22 +09:00
parent f42c24e1e8
commit ea685c4c92

View File

@ -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):