mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 10:28:41 -05:00
[QENG-4075] Drop now-superfluous :statsd config defaulting
This commit is contained in:
parent
e9fae3fab2
commit
f26e0f9bd7
1 changed files with 0 additions and 7 deletions
|
|
@ -58,13 +58,6 @@ module Vmpooler
|
||||||
parsed_config[:graphite]['prefix'] ||= 'vmpooler'
|
parsed_config[:graphite]['prefix'] ||= 'vmpooler'
|
||||||
end
|
end
|
||||||
|
|
||||||
# statsd is an addition and my not be present in YAML configuration
|
|
||||||
if parsed_config[:statsd]
|
|
||||||
if parsed_config[:statsd]['server']
|
|
||||||
parsed_config[:statsd]['prefix'] ||= 'vmpooler'
|
|
||||||
end
|
|
||||||
end
|
|
||||||
|
|
||||||
if parsed_config[:tagfilter]
|
if parsed_config[:tagfilter]
|
||||||
parsed_config[:tagfilter].keys.each do |tag|
|
parsed_config[:tagfilter].keys.each do |tag|
|
||||||
parsed_config[:tagfilter][tag] = Regexp.new(parsed_config[:tagfilter][tag])
|
parsed_config[:tagfilter][tag] = Regexp.new(parsed_config[:tagfilter][tag])
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue