mirror of
https://github.com/cmur2/dyndnsd.git
synced 2025-07-03 13:11:18 +02:00
wip: add steep and RBS
This commit is contained in:
@ -276,7 +276,7 @@ module Dyndnsd
|
||||
reporter = Metriks::Reporter::Graphite.new(host, port, options)
|
||||
reporter.start
|
||||
elsif config['textfile']
|
||||
file = config['textfile']['file'] || '/tmp/dyndnsd-metrics.prom'
|
||||
file = (config['textfile']['file'] || '/tmp/dyndnsd-metrics.prom').to_s
|
||||
options = {}
|
||||
options[:prefix] = config['textfile']['prefix'] if config['textfile']['prefix']
|
||||
reporter = Dyndnsd::TextfileReporter.new(file, options)
|
||||
|
@ -33,6 +33,7 @@ module Dyndnsd
|
||||
when 422
|
||||
error_response_map[headers['X-DynDNS-Response']]
|
||||
end
|
||||
# TODO: possible nil response!
|
||||
end
|
||||
|
||||
# @param status_code [Integer]
|
||||
@ -46,6 +47,7 @@ module Dyndnsd
|
||||
when 401
|
||||
[status_code, headers, ['badauth']]
|
||||
end
|
||||
# TODO: possible nil response!
|
||||
end
|
||||
|
||||
# @param changes [Array<Symbol>]
|
||||
|
@ -33,6 +33,7 @@ module Dyndnsd
|
||||
when 422
|
||||
error_response_map[headers['X-DynDNS-Response']]
|
||||
end
|
||||
# TODO: possible nil response!
|
||||
end
|
||||
|
||||
# @param status_code [Integer]
|
||||
@ -46,6 +47,7 @@ module Dyndnsd
|
||||
when 401
|
||||
[status_code, headers, ['Unauthorized']]
|
||||
end
|
||||
# TODO: possible nil response!
|
||||
end
|
||||
|
||||
# @param changes [Array<Symbol>]
|
||||
|
@ -91,7 +91,7 @@ module Dyndnsd
|
||||
end
|
||||
end
|
||||
|
||||
# @param file [String]
|
||||
# @param file [File]
|
||||
# @param base_name [String]
|
||||
# @param metric [Object]
|
||||
# @param keys [Array<Symbol>]
|
||||
|
Reference in New Issue
Block a user