From 9b2d5e8737d0fcf42b7e0b698fc3055b177061da Mon Sep 17 00:00:00 2001 From: yayogev Date: Mon, 21 Aug 2017 16:47:11 +0300 Subject: bug fix: ANY clique type would be used even if sepecific one existed for the env Change-Id: Ia65351a17bca5554c5a7e67016979a2a14190616 Signed-off-by: yayogev --- app/discover/clique_finder.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/discover/clique_finder.py b/app/discover/clique_finder.py index 2d845b7..47843e6 100644 --- a/app/discover/clique_finder.py +++ b/app/discover/clique_finder.py @@ -57,7 +57,7 @@ class CliqueFinder(Fetcher): # clique type definition with environment=ANY for clique_type in default_clique_types: focal_point_type = clique_type['focal_point_type'] - if focal_point_type not in clique_types: + if focal_point_type not in self.clique_types_by_type: self.clique_types_by_type[focal_point_type] = clique_type return self.clique_types_by_type -- cgit 1.2.3-korg