Fix statsd address

It used the wrong variable.
This commit is contained in:
K900
2019-11-11 21:14:35 +03:00
committed by GitHub
parent ef60877cb0
commit e465817011
+1 -1
View File
@@ -87,7 +87,7 @@ func newStatsStatsd() (Interface, error) {
options := []statsd.Option{ options := []statsd.Option{
statsd.Prefix(config.C.StatsNamespace), statsd.Prefix(config.C.StatsNamespace),
statsd.Network(config.C.StatsdNetwork), statsd.Network(config.C.StatsdNetwork),
statsd.Address(config.C.StatsBind.String()), statsd.Address(config.C.StatsdAddr.String()),
statsd.TagsFormat(config.C.StatsdTagsFormat), statsd.TagsFormat(config.C.StatsdTagsFormat),
} }