Skip to content

Commit

Permalink
WS bug
Browse files Browse the repository at this point in the history
  • Loading branch information
luck3y committed Jun 5, 2019
1 parent 723e940 commit afe3b24
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion os-eap-probes/1.0/added/probes/runner.py
Expand Up @@ -98,7 +98,7 @@ def toStatus(value):
logger.info("Probes succeeded")
if args.debug:
print(json.dumps(output, indent=4, separators=(',', ': ')))
exit(0)
exit(0)
if Status.HARD_FAILURE in probeStatus:
logger.error("Probes detected HARD_FAILURE.")

Expand Down
4 changes: 2 additions & 2 deletions os-eap-probes/2.0/added/probes/runner.py
Expand Up @@ -98,9 +98,9 @@ def toStatus(value):
logger.info("Probes succeeded")
if args.debug:
print(json.dumps(output, indent=4, separators=(',', ': ')))
exit(0)
exit(0)
if Status.HARD_FAILURE in probeStatus:
logger.error("Probes detected HARD_FAILURE. Exiting retry loop.")
logger.error("Probes detected HARD_FAILURE.")

# we didn't succeed
logger.error("Probe failure. Probes did not succeed.")
Expand Down

0 comments on commit afe3b24

Please sign in to comment.