actions.container_manager.start(args)
elif args.subaction == "stop":
actions.container_manager.stop(args)
- if args.subaction == "restart":
+ elif args.subaction == "restart":
actions.container_manager.restart(args)
elif args.subaction == "freeze":
actions.container_manager.freeze(args)
ret = subparser.add_parser("container", help="container controller")
sub = ret.add_subparsers(title="subaction", dest="subaction")
sub.add_parser("start", help="start container")
- sub.add_parser("stop", help="start container")
+ sub.add_parser("stop", help="stop container")
sub.add_parser("restart", help="restart container")
sub.add_parser("freeze", help="freeze container")
sub.add_parser("unfreeze", help="unfreeze container")