Commit bd92f809 authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

slap/hateoas: use new name for portal type ("Compute Node" instead of "Computer")

parent 5eebfe3b
Pipeline #31403 failed with stage
in 0 seconds
...@@ -353,7 +353,7 @@ class SlapHateoasNavigator(HateoasNavigator): ...@@ -353,7 +353,7 @@ class SlapHateoasNavigator(HateoasNavigator):
return result['data']['rows'] return result['data']['rows']
def _getComputerList(self, title=None, reference=None, select_list=["title", "reference"]): def _getComputerList(self, title=None, reference=None, select_list=["title", "reference"]):
query_str = 'portal_type:"Computer" AND validation_state:validated' query_str = 'portal_type:"Compute Node" AND validation_state:validated'
if title is not None: if title is not None:
query_str += ' AND title:="%s"' % title query_str += ' AND title:="%s"' % title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment