Don't print extra output on waiting

Change-Id: I246b864254fedd2a42f0fef34c53d2a28b92889e
Closes-Bug: #1812518
This commit is contained in:
Hongbin Lu
2019-01-19 21:08:20 +00:00
parent ed3d2a3ae3
commit fbc4029bf2

View File

@@ -261,7 +261,6 @@ class CreateContainer(command.ShowOne):
success_status=['created'],
):
container = client.containers.get(container_uuid)
print('Complete to create container.\n')
else:
print('Failed to create container.\n')
raise SystemExit
@@ -948,7 +947,6 @@ class RunContainer(command.ShowOne):
success_status=['running'],
):
container = client.containers.get(container_uuid)
print('Complete to run container.\n')
else:
print('Failed to run container.\n')
raise SystemExit