mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 13:28:42 -05:00
(rubocop) Fix Style/SymbolArray
This commit is contained in:
parent
095ac9e75e
commit
1aea79a9a1
2 changed files with 2 additions and 2 deletions
|
|
@ -50,7 +50,7 @@ class NonstandardPooler
|
|||
end
|
||||
|
||||
modify_hash.each do |key, value|
|
||||
unless [: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}"
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ class Pooler
|
|||
end
|
||||
|
||||
modify_hash.keys.each do |key|
|
||||
unless [:tags, :lifetime, :disk].include? key
|
||||
unless %i[tags lifetime disk].include? 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