Skip to content

Commit

Permalink
Merge "fix for service monitor sync issues with snat"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Aug 29, 2016
2 parents 699bd4b + e42f9b6 commit 0cceea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/svc-monitor/svc_monitor/snat_agent.py
Expand Up @@ -22,7 +22,7 @@ def audit_snat_instances(self):
for si in ServiceInstanceSM.values():
si_name = si.fq_name[-1]
st_obj = ServiceTemplateSM.get(si.service_template)
if st_obj.params['service_type'] != "source-nat":
if st_obj == None or st_obj.params['service_type'] != "source-nat":
continue
lr_uuid = si.logical_router
lr = LogicalRouterSM.get(lr_uuid)
Expand Down

0 comments on commit 0cceea1

Please sign in to comment.