summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCooper Lees <me@cooperlees.com>2020-06-24 12:58:55 -0700
committerCooper Lees <me@cooperlees.com>2020-06-24 12:58:55 -0700
commit8122985f32431e8eb5a3355951f56e253b164c37 (patch)
tree3316160d88eba68f474f5a05d9a0c3a1f4e8f6fc
parent0ca82454ebb63778f6c4a7781b19928a49293e96 (diff)
downloadohai-8122985f32431e8eb5a3355951f56e253b164c37.tar.gz
Change to double quotes for impact
Signed-off-by: Cooper Lees <me@cooperlees.com>
-rw-r--r--lib/ohai/plugins/linux/network.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/linux/network.rb b/lib/ohai/plugins/linux/network.rb
index 87ee4808..42dba4ab 100644
--- a/lib/ohai/plugins/linux/network.rb
+++ b/lib/ohai/plugins/linux/network.rb
@@ -105,7 +105,7 @@ Ohai.plugin(:Network) do
route_entry = Mash.new(destination: route_dest,
family: family[:name])
%w{via scope metric proto src}.each do |k|
- if k == 'via' && route_ending =~ /\bvia\sinet6\s+([^\s]+)/
+ if k == "via" && route_ending =~ /\bvia\sinet6\s+([^\s]+)/
route_entry[k] = $1
next
end