summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Rocha <rocha.porto@gmail.com>2017-10-09 08:16:54 +0000
committerRicardo Rocha <rocha.porto@gmail.com>2017-10-09 09:27:50 +0000
commit6bef59aec50e41ec2133fad1bd1fc4c954a08312 (patch)
tree9c3376a1c6bc6e43ada1ba3e07bdb31d640f1c21
parent52e457dba4f7f4a2a5cb598223cf6108b3458a58 (diff)
Make cluster config --force a booleanstable/pike
Option --force of openstack coe cluster config is a boolean and should not take an argument. Fix message in argument description. Change-Id: Ic526589a8f5c11b13e16b080a04e262d8393c387 Closes-Bug: #1721267 (cherry picked from commit 92fa44e1d94ee95e0279338e9f719a9f64e6fce7)
Notes
Notes (review): Code-Review+2: Spyros Trigazis (strigazi) <strigazi@gmail.com> Code-Review+2: yatin <ykarel@redhat.com> Workflow+1: yatin <ykarel@redhat.com> Verified+2: Jenkins Submitted-by: Jenkins Submitted-at: Mon, 09 Oct 2017 11:10:48 +0000 Reviewed-on: https://review.openstack.org/510453 Project: openstack/python-magnumclient Branch: refs/heads/stable/pike
-rw-r--r--magnumclient/osc/v1/clusters.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/magnumclient/osc/v1/clusters.py b/magnumclient/osc/v1/clusters.py
index 274ed93..e7380e0 100644
--- a/magnumclient/osc/v1/clusters.py
+++ b/magnumclient/osc/v1/clusters.py
@@ -263,9 +263,10 @@ class ConfigCluster(command.Command):
263 help=_('Directory to save the certificate and config files.')) 263 help=_('Directory to save the certificate and config files.'))
264 parser.add_argument( 264 parser.add_argument(
265 '--force', 265 '--force',
266 metavar='<force>', 266 action='store_true',
267 dest='force',
267 default=False, 268 default=False,
268 help=_('Directory to save the certificate and config files.')) 269 help=_('Overwrite files if existing.'))
269 270
270 return parser 271 return parser
271 272