From 1087dcb824d02e6b1f83d6c34375f90701a724c6 Mon Sep 17 00:00:00 2001 From: Gulsum Atici Date: Mon, 6 Feb 2023 12:25:54 +0300 Subject: [PATCH] Reformat files according to new black validation Change-Id: Ie4edd9c7d05661239b47e957d001b98b14b37409 Signed-off-by: Gulsum Atici --- osm_policy_module/common/mon_client.py | 1 - osm_policy_module/core/agent.py | 1 - 2 files changed, 2 deletions(-) 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) -- 2.25.1