mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
(rubocop) Fix Layout/SpaceBeforeBlockBraces
This commit is contained in:
parent
b8971c040a
commit
fd753ba188
3 changed files with 12 additions and 12 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