diff options
author | Christopher Speller <crspeller@gmail.com> | 2016-12-19 10:16:22 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-19 10:16:22 -0500 |
commit | f96173528f08684092b89f903f0389fe2b607192 (patch) | |
tree | f34f9057417ad6758cd65dc246bc764530f2134c /api/deprecated.go | |
parent | 6a5cdd5cdf09317ce259dd146fc4f1cb76d8b9b6 (diff) | |
download | chat-f96173528f08684092b89f903f0389fe2b607192.tar.gz chat-f96173528f08684092b89f903f0389fe2b607192.tar.bz2 chat-f96173528f08684092b89f903f0389fe2b607192.zip |
Adding metrics for caching mechanisms (#4828)
Diffstat (limited to 'api/deprecated.go')
-rw-r--r-- | api/deprecated.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/deprecated.go b/api/deprecated.go index 955613fab..427abdedf 100644 --- a/api/deprecated.go +++ b/api/deprecated.go @@ -29,7 +29,7 @@ func getMoreChannels(c *Context, w http.ResponseWriter, r *http.Request) { if result := <-Srv.Store.Channel().GetMoreChannels(c.TeamId, c.Session.UserId, 0, 100000); result.Err != nil { c.Err = result.Err return - } else if HandleEtag(result.Data.(*model.ChannelList).Etag(), w, r) { + } else if HandleEtag(result.Data.(*model.ChannelList).Etag(), "Get More Channels (deprecated)", w, r) { return } else { data := result.Data.(*model.ChannelList) |