From a94f5ee375e961eb87300d393830ac8294960ee4 Mon Sep 17 00:00:00 2001 From: Shashank Reddy Boyapally Date: Mon, 25 Mar 2024 14:22:50 -0400 Subject: [PATCH] fixed pylint error Signed-off-by: Shashank Reddy Boyapally --- pkg/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/utils.py b/pkg/utils.py index 07f884e..b38054c 100644 --- a/pkg/utils.py +++ b/pkg/utils.py @@ -232,7 +232,7 @@ def get_index_and_ids(metadata, uuids, match, baseline): index_map={"k8s-netperf":"k8s-netperf", "ingress-perf":"ingress-performance", } - if metadata["benchmark.keyword"] in index_map.keys(): + if metadata["benchmark.keyword"] in index_map: return index_map[metadata["benchmark.keyword"]], uuids index = "ripsaw-kube-burner" if baseline == "":