Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
18
Merge Requests
18
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos.core
Commits
bd92f809
Commit
bd92f809
authored
Nov 30, 2023
by
Thomas Gambier
🚴🏼
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slap/hateoas: use new name for portal type ("Compute Node" instead of "Computer")
parent
5eebfe3b
Pipeline
#31403
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
slapos/slap/hateoas.py
slapos/slap/hateoas.py
+1
-1
No files found.
slapos/slap/hateoas.py
View file @
bd92f809
...
...
@@ -353,7 +353,7 @@ class SlapHateoasNavigator(HateoasNavigator):
return
result
[
'data'
][
'rows'
]
def
_getComputerList
(
self
,
title
=
None
,
reference
=
None
,
select_list
=
[
"title"
,
"reference"
]):
query_str
=
'portal_type:"Compute
r
" AND validation_state:validated'
query_str
=
'portal_type:"Compute
Node
" AND validation_state:validated'
if
title
is
not
None
:
query_str
+=
' AND title:="%s"'
%
title
...
...
Jérome Perrin
@jerome
mentioned in commit
998f0c8c
·
Dec 04, 2023
mentioned in commit
998f0c8c
mentioned in commit 998f0c8c9cfb4cf4de093145a48b3cf5a90074d2
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment