Skip to content

Commit

Permalink
Convert command ip route ls to canonical view;
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Chizhov <maksim.chizhov@gmail.com>
  • Loading branch information
marc- committed May 29, 2015
1 parent 6f86c26 commit a03cb9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/chef/provisioning/docker_driver/docker_transport.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def make_url_available_to_remote(url)
Chef::Log.debug("Making URL available: #{host}")

if host == '127.0.0.1' || host == '::1'
result = execute('ip route ls', :read_only => true)
result = execute('ip route list', :read_only => true)

Chef::Log.debug("IP route: #{result.stdout}")

Expand Down

0 comments on commit a03cb9d

Please sign in to comment.