We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a005f1d commit 2bc8a59Copy full SHA for 2bc8a59
lib/puppet/functions/powercli/hosts_status.rb
@@ -30,7 +30,7 @@ def hosts_status(connection, hosts = nil)
30
hosts_hash = JSON.parse(resp[:stdout])
31
if hosts
32
# only return the hosts that the user asked for
33
- hosts_hash.select { |k, v| hosts.include?(k) }
+ hosts_hash.select { |k, _v| hosts.include?(k) }
34
else
35
hosts_hash
36
end
0 commit comments