Browse Source

Rename function

Brendan Abolivier 7 years ago
parent
commit
04a0c2fa5c
Signed by: Brendan Abolivier <contact@brendanabolivier.com> GPG key ID: 8EF1500759F70623
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/metrics-alerting/warp10/warp10.go

+ 1
- 1
src/metrics-alerting/warp10/warp10.go View File

27
 	return
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
 	resp, err := w.sendRequest(script)
31
 	resp, err := w.sendRequest(script)
32
 	if err != nil {
32
 	if err != nil {
33
 		return
33
 		return