begin phasing in arguments instead of **arguments

This commit is contained in:
Nico Schottelius 2020-01-10 11:30:23 +01:00
commit b7596e071a
2 changed files with 35 additions and 5 deletions

View file

@ -563,7 +563,10 @@ api.add_resource(ListHost, '/host/list')
api.add_resource(CreateNetwork, '/network/create')
def main(debug=False, port=None):
def main(arguments):
debug = arguments['debug']
port = arguments['port']
try:
image_stores = list(
shared.etcd_client.get_prefix(