Commit abd94540 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Updated entry for request

parent 29bf6501
......@@ -84,7 +84,7 @@ def call(fun, config=False, option=[]):
checkOption(element)
if config:
if not checkSlaposCfg():
sys.argv.append(config)
sys.argv = [sys.argv[0]] + [config] + sys.argv[1:]
fun()
def showUsage():
......@@ -125,7 +125,8 @@ def dispatch(command, is_node):
else:
supervisord()
elif command == 'request':
request()
config = '~/.slapos/slapos.cfg'
call(request, config=config)
elif command == 'supply':
raise EntryPointNotImplementedError(command)
elif command == 'start':
......
Markdown is supported
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