Commit 7e87bf53 authored by Yingjie Xu's avatar Yingjie Xu Committed by Rafael Monnerat

The method should give unknown status if no other choice.

parent 873a5b35
...@@ -195,6 +195,7 @@ class SoftwareReleaseTester(RPCRetry): ...@@ -195,6 +195,7 @@ class SoftwareReleaseTester(RPCRetry):
if self.url in self._retryRPC(method_id, (self.computer_guid, if self.url in self._retryRPC(method_id, (self.computer_guid,
[self.url])): [self.url])):
return state return state
return SOFTWARE_STATE_UNKNOWN
def _getInstanceState(self): def _getInstanceState(self):
# TODO: replace with simpler slap-based API # TODO: replace with simpler slap-based API
......
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