mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
rubocop doesnt like me
This commit is contained in:
parent
d07960a463
commit
146519210f
1 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# utility class shared between apps
|
||||
module Vmpooler
|
||||
class Parsing
|
||||
|
|
@ -7,7 +8,7 @@ module Vmpooler
|
|||
requested_platforms.each do |platform|
|
||||
platform_alias, pool, count = platform.split(':')
|
||||
raise ArgumentError if platform_alias.nil? || pool.nil? || count.nil?
|
||||
|
||||
|
||||
yield platform_alias, pool, count
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue