From: Sven Velt Date: Wed, 17 Feb 2010 15:50:34 +0000 (+0100) Subject: Small syntax fix X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=828e84c4800e2ea294178630755f8428230fa49d;p=nagixsc.git Small syntax fix --- diff --git a/nagixsc_http2nagios.py b/nagixsc_http2nagios.py index 4c23fe5..b0e6fd2 100755 --- a/nagixsc_http2nagios.py +++ b/nagixsc_http2nagios.py @@ -111,11 +111,11 @@ class HTTP2NagiosHandler(MyHTTPRequestHandler): self.wfile.write('Wrote %s check results, %s failed' % (count_services, count_failed)) return else: - http_error(500, 'Could not write all %s check results' % count_services) + self.http_error(501, 'Could not write all %s check results' % count_services) return else: - http_error(500, 'Nag(IX)SC - No data received') + self.http_error(502, 'Nag(IX)SC - No data received') return