mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00: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 a new issue