From fb283688997ae2947b819858ce32a94b79a1e206 Mon Sep 17 00:00:00 2001 From: Dale Smith Date: Tue, 26 Sep 2023 11:31:42 +1300 Subject: [PATCH] Bugfix: master_lb_enabled flag now works as intended. The value for master_lb_enabled resulted in it being treated the same as master_lb_disabled. Change-Id: Ia11d9e1ba20dbb37cd6467c2ae0555ddf25df5d3 Closes-Bug: #2039040 --- magnumclient/osc/v1/clusters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/magnumclient/osc/v1/clusters.py b/magnumclient/osc/v1/clusters.py index 6fec3e76..ace6f34b 100644 --- a/magnumclient/osc/v1/clusters.py +++ b/magnumclient/osc/v1/clusters.py @@ -161,7 +161,7 @@ class CreateCluster(command.Command): dest='master_lb_enabled', action='append_const', default=[], - const=False, + const=True, help=_('Enable master LB creation on the new cluster')) parser.add_argument( '--master-lb-disabled',