API support restarts when a "pending restart" flag is set.

This commit is contained in:
Oleksii Kliukin
2016-06-20 15:21:33 +02:00
parent 318ca6be38
commit 80b5a370b0
+1 -1
View File
@@ -215,7 +215,7 @@ class RestApiHandler(BaseHTTPRequestHandler):
status_code = 400
data = "PostgreSQL version should be in the first.major.minor format"
break
else:
elif k != 'with_pending_restart_flag':
status_code = 400
data = "Unknown filter for the scheduled restart: {0}".format(k)
break