Skip to content

Commit

Permalink
Merge "Gateway ip is showns as None for subnet created with gateway_i…
Browse files Browse the repository at this point in the history
…p = '0.0.0.0'"
  • Loading branch information
Zuul authored and opencontrail-ci-admin committed Jan 20, 2015
2 parents 3189155 + 18fc1c3 commit f867f65
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -386,8 +386,6 @@ def create_subnet(self, context, subnet):
return self._make_subnet_dict(subnet_created)

def _make_subnet_dict(self, subnet):
if 'gateway_ip' in subnet and subnet['gateway_ip'] == '0.0.0.0':
subnet['gateway_ip'] = None
return subnet

def _get_subnet(self, context, subnet_id, fields=None):
Expand Down

0 comments on commit f867f65

Please sign in to comment.