Skip to content

Commit 2bc8a59

Browse files
committed
Fix rubocop
1 parent a005f1d commit 2bc8a59

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/puppet/functions/powercli/hosts_status.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def hosts_status(connection, hosts = nil)
3030
hosts_hash = JSON.parse(resp[:stdout])
3131
if hosts
3232
# only return the hosts that the user asked for
33-
hosts_hash.select { |k, v| hosts.include?(k) }
33+
hosts_hash.select { |k, _v| hosts.include?(k) }
3434
else
3535
hosts_hash
3636
end

0 commit comments

Comments
 (0)