mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 13:28:42 -05:00
(rubocop) Fix Layout/SpaceAroundEqualsInParameterDefault
This commit is contained in:
parent
7cd0256a97
commit
eb0d31260f
2 changed files with 5 additions and 5 deletions
|
|
@ -1,25 +1,25 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
class AuthError < StandardError
|
||||
def initialize(msg='Could not authenticate to pooler')
|
||||
def initialize(msg = 'Could not authenticate to pooler')
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class TokenError < StandardError
|
||||
def initialize(msg='Could not do operation with token provided')
|
||||
def initialize(msg = 'Could not do operation with token provided')
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class MissingParamError < StandardError
|
||||
def initialize(msg='Argument provided to function is missing')
|
||||
def initialize(msg = 'Argument provided to function is missing')
|
||||
super
|
||||
end
|
||||
end
|
||||
|
||||
class ModifyError < StandardError
|
||||
def initialize(msg='Could not modify VM')
|
||||
def initialize(msg = 'Could not modify VM')
|
||||
super
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ require 'json'
|
|||
require 'vmfloaty/errors'
|
||||
|
||||
class Pooler
|
||||
def self.list(verbose, url, os_filter=nil)
|
||||
def self.list(verbose, url, os_filter = nil)
|
||||
conn = Http.get_conn(verbose, url)
|
||||
|
||||
response = conn.get 'vm'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue