mirror of
https://github.com/puppetlabs/vmfloaty.git
synced 2026-01-26 05:28:40 -05:00
(rubocop) Fix Layout/EmptyLinesAroundClassBody
This commit is contained in:
parent
edaa3e5645
commit
bb9e821d5e
4 changed files with 0 additions and 5 deletions
|
|
@ -3,7 +3,6 @@
|
||||||
require 'yaml'
|
require 'yaml'
|
||||||
|
|
||||||
class Conf
|
class Conf
|
||||||
|
|
||||||
def self.read_config
|
def self.read_config
|
||||||
conf = {}
|
conf = {}
|
||||||
begin
|
begin
|
||||||
|
|
|
||||||
|
|
@ -46,5 +46,4 @@ class Http
|
||||||
|
|
||||||
conn
|
conn
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ require 'vmfloaty/utils'
|
||||||
require 'vmfloaty/ssh'
|
require 'vmfloaty/ssh'
|
||||||
|
|
||||||
class Service
|
class Service
|
||||||
|
|
||||||
attr_reader :config
|
attr_reader :config
|
||||||
|
|
||||||
def initialize(options, config_hash = {})
|
def initialize(options, config_hash = {})
|
||||||
|
|
@ -135,5 +134,4 @@ class Service
|
||||||
def disk(verbose, hostname, disk)
|
def disk(verbose, hostname, disk)
|
||||||
@service_object.disk(verbose, url, hostname, token, disk)
|
@service_object.disk(verbose, url, hostname, token, disk)
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
@ -1,7 +1,6 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
class Ssh
|
class Ssh
|
||||||
|
|
||||||
def self.which(cmd)
|
def self.which(cmd)
|
||||||
# Gets path of executable for given command
|
# Gets path of executable for given command
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue