Skip to content

Commit

Permalink
Replace a usage of the deprecated root_helper option
Browse files Browse the repository at this point in the history
This change replaces a usage of the deprecated root_helper option
by the usage of get_root_helper result.

Change-Id: Icfc698243784557cbf987a817c13d0b80969e5d3
Closes-Bug: #1297145
  • Loading branch information
ZZelle committed Mar 25, 2014
1 parent 4599e80 commit f85f240
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion neutron/agent/l3_agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -861,7 +861,7 @@ def after_start(self):
def _update_routing_table(self, ri, operation, route):
cmd = ['ip', 'route', operation, 'to', route['destination'],
'via', route['nexthop']]
ip_wrapper = ip_lib.IPWrapper(self.conf.root_helper,
ip_wrapper = ip_lib.IPWrapper(self.root_helper,
namespace=ri.ns_name())
ip_wrapper.netns.execute(cmd, check_exit_code=False)

Expand Down

0 comments on commit f85f240

Please sign in to comment.