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 08:16:54 +0000
commit92fa44e1d94ee95e0279338e9f719a9f64e6fce7 (patch)
treea410992021b2f1a840070bd4ad87db0a098b62c4
parentb9f9e1c52976518ef3f48fbad81c4abdbd2475ea (diff)
Make cluster config --force a boolean
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
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 08:51:27 +0000 Reviewed-on: https://review.openstack.org/510438 Project: openstack/python-magnumclient Branch: refs/heads/master
-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 cbfbfff..bb3e75c 100644
--- a/magnumclient/osc/v1/clusters.py
+++ b/magnumclient/osc/v1/clusters.py
@@ -275,9 +275,10 @@ class ConfigCluster(command.Command):
275 help=_('Directory to save the certificate and config files.')) 275 help=_('Directory to save the certificate and config files.'))
276 parser.add_argument( 276 parser.add_argument(
277 '--force', 277 '--force',
278 metavar='<force>', 278 action='store_true',
279 dest='force',
279 default=False, 280 default=False,
280 help=_('Directory to save the certificate and config files.')) 281 help=_('Overwrite files if existing.'))
281 282
282 return parser 283 return parser
283 284