From 1fbe71a464428c1d1ffec58d6bc3a09f1861e18f Mon Sep 17 00:00:00 2001 From: garciadeblas Date: Tue, 5 Aug 2025 09:36:10 +0200 Subject: [PATCH] Minor change in nbi.py to remove unmet condition for the topic Change-Id: I4eaa096e1cafa7ab3e89f18434b628746d425a3b Signed-off-by: garciadeblas --- osm_nbi/nbi.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py index e67588c..2cddabb 100644 --- a/osm_nbi/nbi.py +++ b/osm_nbi/nbi.py @@ -1744,14 +1744,8 @@ class Server(object): engine_topic = "resources" elif topic == "app_profiles": engine_topic = "apps" - if topic == "clusters" and item == "nodegroup": + elif topic == "clusters" and item == "nodegroup": engine_topic = "node_groups" - elif main_topic == "k8scluster" and item in ( - "upgrade", - "get_creds", - "scale", - ): - engine_topic = "cluster" elif main_topic == "ksu" and engine_topic in ("ksus", "clone", "move"): engine_topic = "ksus" if ( -- 2.25.1