Fix the ouput of 'container-create' when it fails

Change-Id: I248a2456fb84756622ea9d830b1aa98f84c1be1e
Closes-Bug: #1520083
This commit is contained in:
Bharath Thiruveedula 2015-11-26 12:16:21 +05:30
parent 2a559a1ca9
commit bab488ff1c
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ def do_container_create(cs, args):
if bay.status not in ['CREATE_COMPLETE', 'UPDATE_COMPLETE']:
print('Bay status for %s is: %s. We can not create a %s there'
' until the status is CREATE_COMPLETE or UPDATE_COMPLETE.' %
(bay.uuid, bay.status, "pod"))
(bay.uuid, bay.status, "container"))
return
opts = {}
opts['name'] = args.name