Add statement that destroy entry point is not yet implemented.

parent e71ec90f
......@@ -148,6 +148,8 @@ def dispatch(command, is_node_command):
raise EntryPointNotImplementedError(command)
elif command == 'stop':
raise EntryPointNotImplementedError(command)
elif command == 'destroy':
raise EntryPointNotImplementedError(command)
elif command == 'console':
call(console, config=USER_SLAPOS_CONFIGURATION)
else:
......@@ -185,4 +187,5 @@ def main():
parser.print_help()
sys.exit(1)
except EntryPointNotImplementedError, exception:
print 'Not yet implemented: %s. Please use old-style commands.' % exception
print 'Not yet implemented: %s. Please use old-style commands or SlapOS '
'Master web UI.' % exception
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