mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 18:08:42 -05:00
Rubocop fix
This commit is contained in:
parent
063a6f6d53
commit
2a6d610b7a
15 changed files with 182 additions and 225 deletions
|
|
@ -23,6 +23,7 @@ module Vmpooler
|
|||
@p_metrics = {}
|
||||
@torun = []
|
||||
|
||||
# rubocop:disable Lint/MissingSuper
|
||||
def initialize(logger, params = {})
|
||||
@prefix = params['prefix'] || 'vmpooler'
|
||||
@prometheus_prefix = params['prometheus_prefix'] || 'vmpooler'
|
||||
|
|
@ -32,6 +33,7 @@ module Vmpooler
|
|||
# Setup up prometheus registry and data structures
|
||||
@prometheus = Prometheus::Client.registry
|
||||
end
|
||||
# rubocop:enable Lint/MissingSuper
|
||||
|
||||
=begin # rubocop:disable Style/BlockComments
|
||||
The Metrics table is used to register metrics and translate/interpret the incoming metrics.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue