Skip to content

Commit

Permalink
Merge "fix for service monitor sync issues with snat" into R3.0
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 d568ee7 + 4be8f68 commit def2c7b
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 def2c7b

Please sign in to comment.