mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-04-05 20:28:48 +08:00
Fix twice increase metric counter (#4961)
This commit is contained in:
parent
f95848ba7d
commit
ba11331cc1
@ -166,7 +166,6 @@ func (vs *VolumeServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request)
|
||||
}
|
||||
if n.Cookie != cookie {
|
||||
glog.V(0).Infof("request %s with cookie:%x expected:%x from %s agent %s", r.URL.Path, cookie, n.Cookie, r.RemoteAddr, r.UserAgent())
|
||||
stats.VolumeServerRequestCounter.WithLabelValues(stats.ErrorGetNotFound).Inc()
|
||||
NotFound(w)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user