File: 0001-Set-Debian-defaults.patch

package info (click to toggle)
prometheus-squid-exporter 1.13.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 348 kB
  • sloc: makefile: 51; sh: 43
file content (24 lines) | stat: -rw-r--r-- 618 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Daniel Swarbrick <dswarbrick@debian.org>
Date: Fri, 25 Jan 2019 14:49:35 +0100
Subject: Set Debian defaults

Forwarded: not-needed

Set sane defaults for Debian systems.
---
 config/config.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/config.go b/config/config.go
index ba17a3d..fab6ab6 100644
--- a/config/config.go
+++ b/config/config.go
@@ -10,7 +10,7 @@ import (
 )
 
 const (
-	defaultListenAddress       = "127.0.0.1:9301"
+	defaultListenAddress       = ":9301"
 	defaultWebConfigPath       = ""
 	defaultListenPort          = 9301
 	defaultMetricsPath         = "/metrics"