Verified Commit ea10ffef authored by Dan Thomson's avatar Dan Thomson
Browse files

Give an OK message on success

parent 2a006158
Pipeline #37670 failed with stage
in 22 seconds
......@@ -160,6 +160,7 @@ def main():
logger.debug("LOG FILANE LINE: [%s]", line.rstrip())
exit_value = 0
exit_msg = "OK"
if error_count > crit_count:
logger.debug("CRITICAL (count: %d/%d)", error_count, crit_count)
......@@ -181,6 +182,8 @@ def main():
warn_count=warn_count
)
)
elif not parsed_args.quiet:
print("OK")
# If no new results were found, we want to return the previous check's status
# and not a 0 in case the previous situation was an error and we don't want
......
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