summaryrefslogtreecommitdiffstats
path: root/api/team.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2016-12-19 10:16:22 -0500
committerGitHub <noreply@github.com>2016-12-19 10:16:22 -0500
commitf96173528f08684092b89f903f0389fe2b607192 (patch)
treef34f9057417ad6758cd65dc246bc764530f2134c /api/team.go
parent6a5cdd5cdf09317ce259dd146fc4f1cb76d8b9b6 (diff)
downloadchat-f96173528f08684092b89f903f0389fe2b607192.tar.gz
chat-f96173528f08684092b89f903f0389fe2b607192.tar.bz2
chat-f96173528f08684092b89f903f0389fe2b607192.zip
Adding metrics for caching mechanisms (#4828)
Diffstat (limited to 'api/team.go')
-rw-r--r--api/team.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/api/team.go b/api/team.go
index f7fe9b830..e73eb66e1 100644
--- a/api/team.go
+++ b/api/team.go
@@ -927,7 +927,7 @@ func getMyTeam(c *Context, w http.ResponseWriter, r *http.Request) {
if result := <-Srv.Store.Team().Get(c.TeamId); result.Err != nil {
c.Err = result.Err
return
- } else if HandleEtag(result.Data.(*model.Team).Etag(), w, r) {
+ } else if HandleEtag(result.Data.(*model.Team).Etag(), "Get My Team", w, r) {
return
} else {
w.Header().Set(model.HEADER_ETAG_SERVER, result.Data.(*model.Team).Etag())