removing a few additional lines that aren't needed once we don't calculate port count
This commit is contained in:
parent
b151091a1e
commit
50d4ed7d81
@ -50,8 +50,6 @@ class ViewBuilder(object):
|
||||
|
||||
def _build_detail(self, network_data):
|
||||
"""Return a detailed model of a network."""
|
||||
# net-ports might not be present in response from plugin
|
||||
ports = network_data.get('net-ports', None)
|
||||
return dict(network=dict(id=network_data['net-id'],
|
||||
name=network_data['net-name']))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user