diff --git a/lib/vmfloaty/errors.rb b/lib/vmfloaty/errors.rb index 098a94c..28891cc 100644 --- a/lib/vmfloaty/errors.rb +++ b/lib/vmfloaty/errors.rb @@ -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 diff --git a/lib/vmfloaty/pooler.rb b/lib/vmfloaty/pooler.rb index 8695fb4..8eceb8c 100644 --- a/lib/vmfloaty/pooler.rb +++ b/lib/vmfloaty/pooler.rb @@ -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'