Fix the ouput of 'container-create' when it fails
Change-Id: I248a2456fb84756622ea9d830b1aa98f84c1be1e Closes-Bug: #1520083
This commit is contained in:
parent
2a559a1ca9
commit
bab488ff1c
|
@ -46,7 +46,7 @@ def do_container_create(cs, args):
|
||||||
if bay.status not in ['CREATE_COMPLETE', 'UPDATE_COMPLETE']:
|
if bay.status not in ['CREATE_COMPLETE', 'UPDATE_COMPLETE']:
|
||||||
print('Bay status for %s is: %s. We can not create a %s there'
|
print('Bay status for %s is: %s. We can not create a %s there'
|
||||||
' until the status is CREATE_COMPLETE or UPDATE_COMPLETE.' %
|
' until the status is CREATE_COMPLETE or UPDATE_COMPLETE.' %
|
||||||
(bay.uuid, bay.status, "pod"))
|
(bay.uuid, bay.status, "container"))
|
||||||
return
|
return
|
||||||
opts = {}
|
opts = {}
|
||||||
opts['name'] = args.name
|
opts['name'] = args.name
|
||||||
|
|
Loading…
Reference in New Issue