Преглед изворни кода

Fix statsd address

It used the wrong variable.
tags/1.0^2
K900 пре 6 година
родитељ
комит
e465817011
No account linked to committer's email address
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1
    1
      stats/stats_statsd.go

+ 1
- 1
stats/stats_statsd.go Прегледај датотеку

@@ -87,7 +87,7 @@ func newStatsStatsd() (Interface, error) {
87 87
 	options := []statsd.Option{
88 88
 		statsd.Prefix(config.C.StatsNamespace),
89 89
 		statsd.Network(config.C.StatsdNetwork),
90
-		statsd.Address(config.C.StatsBind.String()),
90
+		statsd.Address(config.C.StatsdAddr.String()),
91 91
 		statsd.TagsFormat(config.C.StatsdTagsFormat),
92 92
 	}
93 93
 

Loading…
Откажи
Сачувај