1
0
Fork 0
mirror of https://github.com/munin-monitoring/contrib.git synced 2025-07-24 18:07:20 +00:00

Ruby plugins: apply style changes as suggested by "rubocop --fix-layout"

This commit is contained in:
Lars Kruse 2020-08-25 16:52:39 +02:00
parent 26c29daa2b
commit b0b39b018e
30 changed files with 1447 additions and 1384 deletions

View file

@ -14,18 +14,17 @@ require 'mysql'
require 'yaml'
class Grapher
def initialize(db_conf)
@db_conf = db_conf
end
def config
puts <<-END_CONFIG
graph_title Delayed_Jobs Queue Size
graph_args -l 0
graph_vlabel jobs to be run
jobs.label jobs
jobs.type GAUGE
puts <<~END_CONFIG
graph_title Delayed_Jobs Queue Size
graph_args -l 0
graph_vlabel jobs to be run
jobs.label jobs
jobs.type GAUGE
END_CONFIG
end
@ -39,7 +38,6 @@ jobs.type GAUGE
value = result.fetch_hash.values.first
puts "jobs.value #{value}"
end
end
if __FILE__ == $0