diff options
author | Cooper Lees <me@cooperlees.com> | 2020-06-30 10:50:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 10:50:34 -0700 |
commit | 9ea67339da40ee2831777708297b61e473fc7aae (patch) | |
tree | d496b2dc637311572acb4ae9d4473fecd3fbf9ef | |
parent | f8e4e280066451036a8a2ede3f04bf24e89c740d (diff) | |
download | ohai-9ea67339da40ee2831777708297b61e473fc7aae.tar.gz |
Remove white space to please linter
Signed-off-by: Cooper Lees <me@cooperlees.com>
-rw-r--r-- | lib/ohai/plugins/linux/network.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/linux/network.rb b/lib/ohai/plugins/linux/network.rb index 6458db85..44a2e47d 100644 --- a/lib/ohai/plugins/linux/network.rb +++ b/lib/ohai/plugins/linux/network.rb @@ -108,7 +108,7 @@ Ohai.plugin(:Network) do # http://rubular.com/r/pwTNp65VFf route_entry[k] = $1 if route_ending =~ /\b#{k}\s+([^\s]+)/ end - route_entry["via"] = $1 if route_ending =~ /\bvia\s+inet6\s+([^\s]+)/ + route_entry["via"] = $1 if route_ending =~ /\bvia\s+inet6\s+([^\s]+)/ # a sanity check, especially for Linux-VServer, OpenVZ and LXC: # don't report the route entry if the src address isn't set on the node |