diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-11-17 15:46:35 -0800 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-11-17 15:46:35 -0800 |
commit | 4fe1390dc3b1d4b91398cb95d8550228b7c8dfcc (patch) | |
tree | 049accae654a4559d9c0581b45141f03c8441122 /lib | |
parent | ca3c9e59d7605fa190030f506b98df4642498a6d (diff) | |
download | ohai-4fe1390dc3b1d4b91398cb95d8550228b7c8dfcc.tar.gz |
Don't set network[:interfaces] to an empty mash when we set it later
Avoid setting this twice.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ohai/plugins/aix/network.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ohai/plugins/aix/network.rb b/lib/ohai/plugins/aix/network.rb index e16f2004..02d064e7 100644 --- a/lib/ohai/plugins/aix/network.rb +++ b/lib/ohai/plugins/aix/network.rb @@ -41,7 +41,6 @@ Ohai.plugin(:Network) do iface = Mash.new network Mash.new unless network - network[:interfaces] ||= Mash.new # We unfortunately have to do things a bit different here, if ohai is running # within a WPAR. For instance, the WPAR isn't aware of some of its own networking |