This commit is contained in:
Chris Lu
2018-05-31 22:49:55 -07:00
parent 4d1eedfa28
commit 7efeb146c5
3 changed files with 4 additions and 4 deletions

View File

@@ -34,7 +34,7 @@ func (fs *FilerServer) queryFileInfoByPath(w http.ResponseWriter, r *http.Reques
fileId = entry.Chunks[0].FileId
urlLocation, err = operation.LookupFileId(fs.getMasterNode(), fileId)
if err != nil {
glog.V(1).Infoln("operation LookupFileId %s failed, err is %s", fileId, err.Error())
glog.V(1).Infof("operation LookupFileId %s failed, err is %s", fileId, err.Error())
w.WriteHeader(http.StatusNotFound)
}
}