From bab488ff1c7671098f8844a63607b2cf6028276f Mon Sep 17 00:00:00 2001 From: Bharath Thiruveedula Date: Thu, 26 Nov 2015 12:16:21 +0530 Subject: [PATCH] Fix the ouput of 'container-create' when it fails Change-Id: I248a2456fb84756622ea9d830b1aa98f84c1be1e Closes-Bug: #1520083 --- magnumclient/v1/containers_shell.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magnumclient/v1/containers_shell.py b/magnumclient/v1/containers_shell.py index f2bf39ce..c5d4b06b 100644 --- a/magnumclient/v1/containers_shell.py +++ b/magnumclient/v1/containers_shell.py @@ -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