Skip to content

Commit

Permalink
Merge "Correct two bugs with neutron router gateway id parsing"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Mar 27, 2014
2 parents 94abda9 + c8989e6 commit 3425620
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/puppet/provider/neutron_router/neutron.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def gateway_network_name=(value)
end

def parse_gateway_network_id(external_gateway_info_)
match_data = /\{"network_id": "(.*)"\}/.match(external_gateway_info_)
match_data = /\{"network_id": "(.*?)"/.match(external_gateway_info_)
if match_data
match_data[1]
else
Expand Down

0 comments on commit 3425620

Please sign in to comment.