Fix issue with generating promenade config
This commit is contained in:
parent
3fcf90f8c7
commit
79f258fee5
@ -72,13 +72,13 @@ class BootdataResource(StatefulResource):
|
||||
if all_parts is not None:
|
||||
part_list.extend([i.document for i in all_parts])
|
||||
|
||||
host_parts = host_design.get_promenade_parts(hostname)
|
||||
host_parts = host_design.get_promenade_config(hostname)
|
||||
|
||||
if host_parts is not None:
|
||||
part_list.extend([i.document for i in host_parts])
|
||||
|
||||
for t in host_model.tags:
|
||||
tag_parts = host_design.get_promenade_parts(t)
|
||||
tag_parts = host_design.get_promenade_config(t)
|
||||
if t is not None:
|
||||
part_list.extend([i.document for i in tag_parts])
|
||||
|
||||
|
@ -51,7 +51,7 @@ class PromenadeConfigList(base.DrydockObjectListBase, base.DrydockObject):
|
||||
'objects': ovo_fields.ListOfObjectsField('PromenadeConfig'),
|
||||
}
|
||||
|
||||
def select_for_target(target):
|
||||
def select_for_target(self, target):
|
||||
"""
|
||||
Select all promenade configs destined for the target
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user