From: Gulsum Atici Date: Mon, 6 Feb 2023 09:25:54 +0000 (+0300) Subject: Reformat files according to new black validation X-Git-Tag: release-v14.0-start~5 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=1087dcb824d02e6b1f83d6c34375f90701a724c6;p=osm%2FPOL.git Reformat files according to new black validation Change-Id: Ie4edd9c7d05661239b47e957d001b98b14b37409 Signed-off-by: Gulsum Atici --- diff --git a/osm_policy_module/common/mon_client.py b/osm_policy_module/common/mon_client.py index 1d498c2..f9a51cd 100644 --- a/osm_policy_module/common/mon_client.py +++ b/osm_policy_module/common/mon_client.py @@ -174,7 +174,6 @@ class MonClient: operation: str, action: str, ): - alarm_create_request = { "correlation_id": cor_id, "alarm_name": "osm_alarm_{}_{}_{}_{}".format( diff --git a/osm_policy_module/core/agent.py b/osm_policy_module/core/agent.py index 56caecd..2daebde 100644 --- a/osm_policy_module/core/agent.py +++ b/osm_policy_module/core/agent.py @@ -75,7 +75,6 @@ class PolicyModuleAgent: log.debug("_process_msg topic=%s key=%s msg=%s", topic, key, msg) try: if key in ALLOWED_KAFKA_KEYS: - if key == "instantiated": await self._handle_instantiated(msg)