From eb0d31260fe26815a74568962ba24ea2f4ccd7fb Mon Sep 17 00:00:00 2001 From: Tim Sharpe Date: Sun, 3 Feb 2019 12:30:26 +1100 Subject: [PATCH] (rubocop) Fix Layout/SpaceAroundEqualsInParameterDefault --- lib/vmfloaty/errors.rb | 8 ++++---- lib/vmfloaty/pooler.rb | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) 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'