Fix _cls_registry type
Horizon commit e50a69d69f338d0ec66baa659a7d82e328e62a67 saw _cls_registry become a list instead of a set. We need to reflect this change, or else see: 'set' object has no attribute 'append' Change-Id: I302b6120145909fc4d342579818b05584a0820a3
This commit is contained in:
parent
4d04f9c5f5
commit
63a8350804
|
@ -328,7 +328,7 @@ class ConfigureClusterTemplate(whelpers.ServiceParametersWorkflow,
|
|||
ConfigureNodegroups)
|
||||
|
||||
def __init__(self, request, context_seed, entry_point, *args, **kwargs):
|
||||
ConfigureClusterTemplate._cls_registry = set([])
|
||||
ConfigureClusterTemplate._cls_registry = []
|
||||
|
||||
hlps = helpers.Helpers(request)
|
||||
plugin, hadoop_version = whelpers.\
|
||||
|
|
|
@ -40,7 +40,7 @@ class ScaleCluster(cl_create_flow.ConfigureCluster,
|
|||
default_steps = (NodeGroupsStep, )
|
||||
|
||||
def __init__(self, request, context_seed, entry_point, *args, **kwargs):
|
||||
ScaleCluster._cls_registry = set([])
|
||||
ScaleCluster._cls_registry = []
|
||||
|
||||
self.success_message = _("Scaled cluster successfully started.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue