mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
(rubocop) Fix Style/WordArray
This commit is contained in:
parent
cdb9b0ca3d
commit
095ac9e75e
2 changed files with 2 additions and 2 deletions
|
|
@ -165,7 +165,7 @@ class Utils
|
|||
end
|
||||
|
||||
def self.get_service_object(type = '')
|
||||
nspooler_strings = ['ns', 'nspooler', 'nonstandard', 'nonstandard_pooler']
|
||||
nspooler_strings = %w[ns nspooler nonstandard nonstandard_pooler]
|
||||
if nspooler_strings.include? type.downcase
|
||||
NonstandardPooler
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue