Skip to content

Commit

Permalink
Merge "Add missing return statement" into R3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Feb 22, 2017
2 parents 9eb7e43 + b5c6065 commit 981ee53
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -89,6 +89,9 @@ def add_port(self, vm_uuid_str, vif_uuid_str, interface_name, mac_address,
self._ports[vif_uuid_str] = cmd

self._resynchronize()
if (ret_code != 0):
return False
return True

finally:
if self._semaphore:
Expand Down

0 comments on commit 981ee53

Please sign in to comment.