mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
(rubocop) Fix Layout/SpaceInsideBlockBraces
This commit is contained in:
parent
b16e3fc792
commit
7cd0256a97
2 changed files with 5 additions and 5 deletions
|
|
@ -51,7 +51,7 @@ class Vmfloaty
|
|||
os_types = Utils.generate_os_hash(args)
|
||||
|
||||
max_pool_request = 5
|
||||
large_pool_requests = os_types.select{|_,v| v > max_pool_request}
|
||||
large_pool_requests = os_types.select{ |_,v| v > max_pool_request }
|
||||
if ! large_pool_requests.empty? && ! force
|
||||
STDERR.puts "Requesting vms over #{max_pool_request} requires a --force flag."
|
||||
STDERR.puts 'Try again with `floaty get --force`'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue