Commit cee572c4 authored by Rafael Monnerat's avatar Rafael Monnerat

slap: Use _access_status rather them re-fetch status

parent ef6a6622
...@@ -717,13 +717,7 @@ class ComputerPartition(SlapRequester): ...@@ -717,13 +717,7 @@ class ComputerPartition(SlapRequester):
return loads(xml) return loads(xml)
def getStatus(self): def getStatus(self):
xml = self._connection_helper.GET('getComputerPartitionStatus', return self.getAccessStatus()
params={
'computer_id': self._computer_id,
'computer_partition_id': self._partition_id,
}
)
return loads(xml)
def getFullHostingIpAddressList(self): def getFullHostingIpAddressList(self):
xml = self._connection_helper.GET('getHostingSubscriptionIpList', xml = self._connection_helper.GET('getHostingSubscriptionIpList',
......
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