(subparsers)
| 783 | |
| 784 | |
| 785 | def initialize_get_errors_subcommand(subparsers): |
| 786 | sub_parser = subparsers.add_parser( |
| 787 | "get-errors", help="""Get the latest error from the running topology. The returned result contains |
| 788 | the key value pairs for component-name and component-error for the components in error. |
| 789 | The result is returned in json format.""", formatter_class=SortingHelpFormatter |
| 790 | ) |
| 791 | |
| 792 | sub_parser.add_argument("topology-name") |
| 793 | |
| 794 | sub_parser.set_defaults(func=get_errors) |
| 795 | add_common_options(sub_parser) |
| 796 | |
| 797 | |
| 798 | def initialize_healthcheck_subcommand(subparsers): |
no test coverage detected