Skip to content

Commit

Permalink
pass fields to _make_port_dict
Browse files Browse the repository at this point in the history
We were not passing fields to _make_port_dict, so it was always adding
the bindings.

Change-Id: Ic35df9e1795dafdbe1cbe10ead34a306f9e9ea33
Closes-Bug: 1468616
  • Loading branch information
Sachin Bansal committed Feb 23, 2016
1 parent 1632233 commit 542d260
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -530,7 +530,7 @@ def _make_port_dict(self, port, fields=None):

def _get_port(self, context, id, fields=None):
port = self._get_resource('port', context, id, fields)
return self._make_port_dict(port)
return self._make_port_dict(port, fields)

def _update_ips_for_port(self, context, network_id, port_id, original_ips,
new_ips):
Expand Down

0 comments on commit 542d260

Please sign in to comment.