famosss
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
weed/server/filer_server_handlers_read.go
|
|
@ -96,7 +96,7 @@ func (fs *FilerServer) GetOrHeadHandler(w http.ResponseWriter, r *http.Request) |
|
|
|
return |
|
|
|
} |
|
|
|
if err == filer_pb.ErrNotFound { |
|
|
|
glog.V(1).Infof("Not found %s: %v", path, err) |
|
|
|
glog.V(2).Infof("Not found %s: %v", path, err) |
|
|
|
stats.FilerRequestCounter.WithLabelValues(stats.ErrorReadNotFound).Inc() |
|
|
|
w.WriteHeader(http.StatusNotFound) |
|
|
|
} else { |
|
|
|