Skip to content

Commit

Permalink
Merge " - Correct exception type" into R3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Mar 2, 2016
2 parents cf967a8 + 51a95b2 commit fd9579d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/api-server/vnc_cfg_types.py
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ def _check_vrouter_link(cls, vmi_data, kvp_dict, obj_dict, db_conn):
vrouter_fq_name = ['default-global-system-config', host_id]
try:
vrouter_id = db_conn.fq_name_to_uuid('virtual-router', vrouter_fq_name)
except NoIdError:
except cfgm_common.exceptions.NoIdError:
return

#if virtual_machine_refs is an empty list delete vrouter link
Expand Down

0 comments on commit fd9579d

Please sign in to comment.