Commit 98725a48 authored by Chris Snijder's avatar Chris Snijder 🏅
Browse files

Fix bad merge :(

parent ec092733
......@@ -576,28 +576,6 @@ def __get_haproxy_socket_mapping(args):
return mapping
def __get_validated_args():
Parse and validate CLI arguments and configuration.
Checks should match the restrictions in the usage help messages.
:returns Namespace: Validated argparser argument list.
parser = get_cli_arg_parser()
args = parser.parse_args()
if args.haproxy_socket_keepalive < 10:
raise ArgumentError(
"`--haproxy-socket-keepalive` should be higher than 10."
except ArgumentError as exc:
logger.critical("Invalid command line argument or value: %s", exc)
return args
if __name__ == '__main__':
Supports Markdown
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