From 9e81465dd3dfea8f88ddbf950b5d85c1ea3cfa78 Mon Sep 17 00:00:00 2001 From: Mika Joenpera Date: Thu, 24 Oct 2024 08:05:48 +0300 Subject: [PATCH] Review fixes Jira-Id: SECO-7551 Signed-off-by: Mika Joenpera --- .../src/nats/src/comms_service_refresh.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/modules/sc-mesh-secure-deployment/src/nats/src/comms_service_refresh.py b/modules/sc-mesh-secure-deployment/src/nats/src/comms_service_refresh.py index f7bc6ab6..2ee46a6b 100644 --- a/modules/sc-mesh-secure-deployment/src/nats/src/comms_service_refresh.py +++ b/modules/sc-mesh-secure-deployment/src/nats/src/comms_service_refresh.py @@ -48,12 +48,3 @@ def shutdown_service(self) -> None: Shutdown the service """ self.__event.set() - -if __name__ == "__main__": - logging.basicConfig(level=logging.INFO) - logger = logging.getLogger("CommsServiceRefresh") - comms_service_refresh = CommsServiceRefresh("mika-battlestation", logger) - comms_service_refresh.dns_service_refresh() - time.sleep(100) - # Wait for the service to be registered - comms_service_refresh.shutdown_service()