From 3e2e9fbd9650c44d57a41a9dc702fe93aad2b77f Mon Sep 17 00:00:00 2001 From: Valery Piashchynski Date: Wed, 11 Aug 2021 11:45:24 +0300 Subject: Replace all 'localhost' with '127.0.0.1'. Fix default configuration and other small bugs. Signed-off-by: Valery Piashchynski --- plugins/metrics/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/metrics') diff --git a/plugins/metrics/config.go b/plugins/metrics/config.go index dd36005e..a2835130 100644 --- a/plugins/metrics/config.go +++ b/plugins/metrics/config.go @@ -135,6 +135,6 @@ func (c *Config) getCollectors() (map[string]prometheus.Collector, error) { func (c *Config) InitDefaults() { if c.Address == "" { - c.Address = "localhost:2112" + c.Address = "127.0.0.1:2112" } } -- cgit v1.2.3