Commit 5042fcc0 authored by Romain Courteaud's avatar Romain Courteaud

slapos_cloud: allow recreating a Compute Node even if there is an invalidated...

slapos_cloud: allow recreating a Compute Node even if there is an invalidated node with the same title
parent 351fbdc6
...@@ -32,6 +32,7 @@ compute_node_portal_type = "Compute Node" ...@@ -32,6 +32,7 @@ compute_node_portal_type = "Compute Node"
compute_node_list = portal.portal_catalog.portal_catalog( compute_node_list = portal.portal_catalog.portal_catalog(
portal_type=compute_node_portal_type, portal_type=compute_node_portal_type,
title={'query': compute_node_title, 'key': 'ExactMatch'}, title={'query': compute_node_title, 'key': 'ExactMatch'},
validation_state='validated',
follow_up__uid=project_list[0].getUid(), follow_up__uid=project_list[0].getUid(),
limit=2 limit=2
) )
......
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