summaryrefslogtreecommitdiff
path: root/src/hub
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2017-04-22 03:01:21 +0200
committerChristian Pointner <equinox@spreadspace.org>2017-04-22 03:01:21 +0200
commitc02f796bdcf4ab1d8f66b2fad4910597fee0956e (patch)
tree932886e93cc9f79c8096d01c5800e7af1d08d91a /src/hub
parentfix a lot of masked return values (mostly errors) (diff)
fix last commit
Diffstat (limited to 'src/hub')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go b/src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go
index d377a8b..19abb1e 100644
--- a/src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go
+++ b/src/hub/src/spreadspace.org/sfive/s5srvForwardEs.go
@@ -41,7 +41,7 @@ func (self StatsSinkServer) getLastUpdateEs(baseurl string, client *http.Client)
return
}
- var body []bytes
+ var body []byte
body, err = ioutil.ReadAll(resp.Body)
if err != nil {
s5l.Printf("fwd-es: failed to read lastupdate response: %v\n", err)