mirror of
https://github.com/KevinMidboe/mktxp-no-cli.git
synced 2025-12-08 20:38:48 +00:00
cli options, fixes
This commit is contained in:
@@ -28,8 +28,7 @@ class MKTXPProcessor:
|
||||
def start():
|
||||
router_metrics_handler = RouterMetricsHandler()
|
||||
REGISTRY.register(CollectorsHandler(router_metrics_handler))
|
||||
port=config_handler.mktxp_port()
|
||||
MKTXPProcessor.run(port=port)
|
||||
MKTXPProcessor.run(port=config_handler._entry().port)
|
||||
|
||||
@staticmethod
|
||||
def run(server_class=HTTPServer, handler_class=MetricsHandler, port = None):
|
||||
|
||||
Reference in New Issue
Block a user