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:
Jeremy Freudberg 2018-06-14 09:53:55 -04:00
parent 4d04f9c5f5
commit 63a8350804
2 changed files with 2 additions and 2 deletions

View File

@ -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.\

View File

@ -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.")