MCPcopy Create free account
hub / github.com/apache/storm / initialize_get_errors_subcommand

Function initialize_get_errors_subcommand

bin/storm.py:785–795  ·  view source on GitHub ↗
(subparsers)

Source from the content-addressed store, hash-verified

783
784
785def 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
798def initialize_healthcheck_subcommand(subparsers):

Callers 1

initialize_main_commandFunction · 0.85

Calls 1

add_common_optionsFunction · 0.85

Tested by

no test coverage detected