forked from uncloud/uncloud
begin phasing in arguments instead of **arguments
This commit is contained in:
parent
71fd0ca7d9
commit
b7596e071a
2 changed files with 35 additions and 5 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue