Commit f12926ee authored by Antoine Catton's avatar Antoine Catton

Fix REST function name.

parent 854dc166
...@@ -379,7 +379,7 @@ class ComputerPartition(SlapDocument): ...@@ -379,7 +379,7 @@ class ComputerPartition(SlapDocument):
'message': message}) 'message': message})
def rename(self, new_name, slave_reference=None): def rename(self, new_name, slave_reference=None):
self._connection_helper.POST('/rename', { self._connection_helper.POST('/renameSoftwareInstance', {
'computer_id': self._computer_id, 'computer_id': self._computer_id,
'computer_partition_id': self._computer_id, 'computer_partition_id': self._computer_id,
'new_name': new_name, 'new_name': new_name,
......
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