diff --git a/lib/vmfloaty/conf.rb b/lib/vmfloaty/conf.rb index b1bfef1..5e572fa 100644 --- a/lib/vmfloaty/conf.rb +++ b/lib/vmfloaty/conf.rb @@ -3,7 +3,6 @@ require 'yaml' class Conf - def self.read_config conf = {} begin diff --git a/lib/vmfloaty/http.rb b/lib/vmfloaty/http.rb index b120538..f2ef77c 100644 --- a/lib/vmfloaty/http.rb +++ b/lib/vmfloaty/http.rb @@ -46,5 +46,4 @@ class Http conn end - end diff --git a/lib/vmfloaty/service.rb b/lib/vmfloaty/service.rb index 899f651..e5ad4be 100644 --- a/lib/vmfloaty/service.rb +++ b/lib/vmfloaty/service.rb @@ -6,7 +6,6 @@ require 'vmfloaty/utils' require 'vmfloaty/ssh' class Service - attr_reader :config def initialize(options, config_hash = {}) @@ -135,5 +134,4 @@ class Service def disk(verbose, hostname, disk) @service_object.disk(verbose, url, hostname, token, disk) end - end \ No newline at end of file diff --git a/lib/vmfloaty/ssh.rb b/lib/vmfloaty/ssh.rb index e20d84d..0b3f9bb 100644 --- a/lib/vmfloaty/ssh.rb +++ b/lib/vmfloaty/ssh.rb @@ -1,7 +1,6 @@ # frozen_string_literal: true class Ssh - def self.which(cmd) # Gets path of executable for given command