From 140917ba37d240279b093aff777d6826bd299f6f Mon Sep 17 00:00:00 2001 From: Alexander Kukushkin Date: Wed, 1 Jun 2016 09:26:34 +0200 Subject: [PATCH] Fix a typo --- patroni/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patroni/api.py b/patroni/api.py index 18eb21eb..c8d52b27 100644 --- a/patroni/api.py +++ b/patroni/api.py @@ -92,7 +92,7 @@ class RestApiHandler(BaseHTTPRequestHandler): else: status_code = 503 - if write_status_code_only: # when haproxy sends OPTIONS request it reads only statue code and nothing more + if write_status_code_only: # when haproxy sends OPTIONS request it reads only status code and nothing more message = self.responses[status_code][0] self.wfile.write(("%s %d %s\r\n" % (self.protocol_version, status_code, message)).encode('utf-8')) else: