aboutsummaryrefslogtreecommitdiffstats
path: root/app/app/config_binding_service/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/app/config_binding_service/client.py')
-rw-r--r--app/app/config_binding_service/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/app/config_binding_service/client.py b/app/app/config_binding_service/client.py
index 93f4d69..c6a6753 100644
--- a/app/app/config_binding_service/client.py
+++ b/app/app/config_binding_service/client.py
@@ -151,7 +151,7 @@ def _replace_rels_template(rels, template_identifier):
"""
returnl = []
for rel in rels:
- if template_identifier in rel and template_identifier is not "":
+ if template_identifier in rel and template_identifier != "":
returnl.append(rel)
# returnl now contains a list of DNS names (possible empty), now resolve them (or not if they are not regustered)
return list(filter(lambda x: x is not None, map(_get_connection_info_from_consul, returnl)))