Commit 105274a2 authored by Sigmund Augdal's avatar Sigmund Augdal

Reduce some unneccessary log noise

parent 5e8f4e94
......@@ -56,9 +56,9 @@ def get_group_rules(etcd_client, group_id):
for key in RULE_KEYS:
try:
rule[key] = etcd_client.get(entry.key + "/" + key).value
except etcd.EtcdError:
logging.exception("a")
pass
except etcd.EtcdError as ex:
if ex.args[0] != 100:
logging.exception("a")
if "protocol" in rule and "source_type" in rule and "destination_port" in rule:
rules.append(rule)
except etcd.EtcdError:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment