Commit da2e2854 authored by Romain Olivo's avatar Romain Olivo

fix pnodes_quit error

parent c599dc5d
Pipeline #90515 passed with stage
in 1 minute and 33 seconds
......@@ -47,7 +47,7 @@ class Distem:
see :desc:`resources description <>`.
'''
return self.delete_json("/pnodes/%s" % target)
return self.delete_json("/pnodes/%s" % target, data={"type": "remove"})
def pnodes_quit(self):
'''
......@@ -58,7 +58,7 @@ class Distem:
see :desc:`resources description <>`.
'''
return self.delete_json("/pnodes")
return self.delete_json("/pnodes", data={"type": "remove"})
def pnode_info(self, target="localhost"):
'''
......
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