Skip to content

Commit

Permalink
Add missing return statement
Browse files Browse the repository at this point in the history
The return statement was missed when vrouter_api.py was modified to use REST interface instead of Thrift.

Change-Id: I7ee34a5cf8dd623edc0598039174b4343e810d96
Closes-Bug: #1664819
  • Loading branch information
ashoksr committed Feb 22, 2017
1 parent 9c9b09e commit 392d0be
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 392d0be

Please sign in to comment.