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