mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-12-17 17:51:20 +08:00
fix-filer: calculation error of the method skipCheckParentDirEntry
This commit is contained in:
@@ -131,7 +131,7 @@ func isAppend(r *http.Request) bool {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func skipCheckParentDirEntry(r *http.Request) bool {
|
func skipCheckParentDirEntry(r *http.Request) bool {
|
||||||
return r.URL.Query().Get("skipCheckParentDir") != "true"
|
return r.URL.Query().Get("skipCheckParentDir") == "true"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (fs *FilerServer) saveMetaData(ctx context.Context, r *http.Request, fileName string, contentType string, so *operation.StorageOption, md5bytes []byte, fileChunks []*filer_pb.FileChunk, chunkOffset int64, content []byte) (filerResult *FilerPostResult, replyerr error) {
|
func (fs *FilerServer) saveMetaData(ctx context.Context, r *http.Request, fileName string, contentType string, so *operation.StorageOption, md5bytes []byte, fileChunks []*filer_pb.FileChunk, chunkOffset int64, content []byte) (filerResult *FilerPostResult, replyerr error) {
|
||||||
|
|||||||
Reference in New Issue
Block a user