(subparsers)
| 805 | |
| 806 | |
| 807 | def initialize_kill_workers_subcommand(subparsers): |
| 808 | sub_parser = subparsers.add_parser( |
| 809 | "kill_workers", help="""Kill the workers running on this supervisor. This command should be run |
| 810 | on a supervisor node. If the cluster is running in secure mode, then user needs |
| 811 | to have admin rights on the node to be able to successfully kill all workers.""", formatter_class=SortingHelpFormatter |
| 812 | ) |
| 813 | |
| 814 | sub_parser.set_defaults(func=kill_workers) |
| 815 | add_common_options(sub_parser) |
| 816 | |
| 817 | |
| 818 | def initialize_admin_subcommand(subparsers): |
no test coverage detected