Skip to content
Permalink
Browse files

Fixed func name

Change-Id: Iabf0b420d471205e4651d2c8219e491ddc787b18
  • Loading branch information...
si-23 committed Oct 7, 2019
1 parent 9d86e21 commit 0bd62935fb4b56a71011212e842d0f0648885e44
Showing with 2 additions and 2 deletions.
  1. +2 −2 active_checks/check_form_submit
@@ -99,7 +99,7 @@ def new_state(rc, s):
raise HostResult((rc, s))


def bail_out(rc, s):
def output_check_result(rc, s):
stxt = ['OK', 'WARN', 'CRIT', 'UNKN'][rc]
sys.stdout.write('%s - %s\n' % (stxt, s))

@@ -396,5 +396,5 @@ def main(args=None):

if __name__ == "__main__":
exitcode, info = main()
bail_out(exitcode, info)
output_check_result(exitcode, info)
sys.exit(exitcode)

0 comments on commit 0bd6293

Please sign in to comment.
You can’t perform that action at this time.