summaryrefslogtreecommitdiff
path: root/src/hub
diff options
context:
space:
mode:
authorMarkus Grüneis <gimpf@gimpf.org>2014-10-25 16:39:58 +0200
committerMarkus Grüneis <gimpf@gimpf.org>2014-10-25 16:39:58 +0200
commit883a2951556c413e26faae5f422381b15585c859 (patch)
tree0c2de952c4645e14896ea8002091e8ceeee66c1e /src/hub
parenthub: Refactor actor invoke functions. (diff)
hub: Use getUpdatesInvoke in web.
Diffstat (limited to 'src/hub')
-rw-r--r--src/hub/src/spreadspace.org/sfive/s5srvWeb.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hub/src/spreadspace.org/sfive/s5srvWeb.go b/src/hub/src/spreadspace.org/sfive/s5srvWeb.go
index d380de1..67430c6 100644
--- a/src/hub/src/spreadspace.org/sfive/s5srvWeb.go
+++ b/src/hub/src/spreadspace.org/sfive/s5srvWeb.go
@@ -110,7 +110,7 @@ func getFilter(r *http.Request) (filter StatsFilter) {
func (self StatsSinkServer) getUpdateList(c web.C, w http.ResponseWriter, r *http.Request) {
const resourceName = "updates"
filter := getFilter(r)
- values, err := self.store.GetUpdates(&filter)
+ values, err := self.getUpdatesInvoke(&filter)
if err != nil {
http.Error(w, fmt.Sprintf("failed to retrieve %s: %v", resourceName, err), http.StatusInternalServerError)
return