瀏覽代碼

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
 	options := []statsd.Option{
87
 	options := []statsd.Option{
88
 		statsd.Prefix(config.C.StatsNamespace),
88
 		statsd.Prefix(config.C.StatsNamespace),
89
 		statsd.Network(config.C.StatsdNetwork),
89
 		statsd.Network(config.C.StatsdNetwork),
90
-		statsd.Address(config.C.StatsBind.String()),
90
+		statsd.Address(config.C.StatsdAddr.String()),
91
 		statsd.TagsFormat(config.C.StatsdTagsFormat),
91
 		statsd.TagsFormat(config.C.StatsdTagsFormat),
92
 	}
92
 	}
93
 
93
 

Loading…
取消
儲存