From cf507461d5f0d7e0121ef734d4ff70d40d6c61ec Mon Sep 17 00:00:00 2001 From: Benjamin Diaz Date: Tue, 9 Oct 2018 11:38:51 -0300 Subject: [PATCH] Removes filter param from osm-common function calls The filter argument was replaced to q_filter. Instead of renaming the keyword arg, now functions are called using only positional args. Signed-off-by: Benjamin Diaz --- osm_mon/core/message_bus/common_consumer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osm_mon/core/message_bus/common_consumer.py b/osm_mon/core/message_bus/common_consumer.py index 95b4c0d..df3133d 100755 --- a/osm_mon/core/message_bus/common_consumer.py +++ b/osm_mon/core/message_bus/common_consumer.py @@ -100,8 +100,8 @@ class CommonConsumer: vdu_name) def get_vnfr(self, nsr_id, member_index): - vnfr = self.common_db.get_one(table="vnfrs", - filter={"nsr-id-ref": nsr_id, "member-vnf-index-ref": str(member_index)}) + vnfr = self.common_db.get_one("vnfrs", + {"nsr-id-ref": nsr_id, "member-vnf-index-ref": str(member_index)}) return vnfr def run(self): -- 2.25.1