浏览代码

Rename function

父节点
当前提交
04a0c2fa5c
签署人:: Brendan Abolivier <contact@brendanabolivier.com> GPG 密钥 ID: 8EF1500759F70623
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      src/metrics-alerting/warp10/warp10.go

+ 1
- 1
src/metrics-alerting/warp10/warp10.go 查看文件

@@ -27,7 +27,7 @@ func (w *Warp10Client) ReadBool(script string) (b bool, err error) {
27 27
 	return
28 28
 }
29 29
 
30
-func (w *Warp10Client) ReadFloat(script string) (f float64, err error) {
30
+func (w *Warp10Client) ReadNumber(script string) (f float64, err error) {
31 31
 	resp, err := w.sendRequest(script)
32 32
 	if err != nil {
33 33
 		return