just a small fix to reset the errorcode and errormessage before execution of a service
This commit is contained in:
parent
70bb796ea6
commit
5508a23f93
1 changed files with 2 additions and 0 deletions
|
|
@ -123,6 +123,8 @@ class Service(object):
|
|||
pass
|
||||
|
||||
def pre_execute(self, host):
|
||||
self.errorcode = 0
|
||||
self.errormessage = None
|
||||
pass
|
||||
|
||||
def parse_result(self, executionResult):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue