mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 13:28:42 -05:00
(rubocop) Fix Lint/UnusedBlockArgument
This commit is contained in:
parent
f0863e7fb0
commit
63eb49c747
1 changed files with 1 additions and 1 deletions
|
|
@ -49,7 +49,7 @@ class NonstandardPooler
|
||||||
raise TokenError, 'Token provided was nil; Request cannot be made to modify VM'
|
raise TokenError, 'Token provided was nil; Request cannot be made to modify VM'
|
||||||
end
|
end
|
||||||
|
|
||||||
modify_hash.each do |key, value|
|
modify_hash.each do |key, _value|
|
||||||
unless %i[reason reserved_for_reason].include? key
|
unless %i[reason reserved_for_reason].include? key
|
||||||
raise ModifyError, "Configured service type does not support modification of #{key}"
|
raise ModifyError, "Configured service type does not support modification of #{key}"
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue