Commit 8588b456 authored by Łukasz Nowak's avatar Łukasz Nowak

Implement SoftwareRelease.destroyed

parent e16c3c3a
...@@ -108,6 +108,11 @@ class SoftwareRelease(SlapDocument): ...@@ -108,6 +108,11 @@ class SoftwareRelease(SlapDocument):
'url': self._software_release, 'url': self._software_release,
'computer_id': self._computer_guid}) 'computer_id': self._computer_guid})
def destroyed(self):
self._connection_helper.POST('/destroyedSoftwareRelease', {
'url': self._software_release,
'computer_id': self._computer_guid})
def getState(self): def getState(self):
return getattr(self, '_requested_state', 'available') return getattr(self, '_requested_state', 'available')
......
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