aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chrislusf@users.noreply.github.com>2022-03-18 18:20:15 -0700
committerGitHub <noreply@github.com>2022-03-18 18:20:15 -0700
commit46155601827469cf01962c2af5e0d79c8472e377 (patch)
treecf3409611e627c7e27c5499b0cacd33cc721561f
parentb1a819ebd8ec0444d22c45a55fd4a1c41058e31f (diff)
parent9f16df736ef9117f7c819e1c55ae376372144a31 (diff)
downloadseaweedfs-46155601827469cf01962c2af5e0d79c8472e377.tar.xz
seaweedfs-46155601827469cf01962c2af5e0d79c8472e377.zip
Merge pull request #2776 from zhuqunzhou/master
-rw-r--r--weed/server/filer_server_handlers_write_autochunk.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/server/filer_server_handlers_write_autochunk.go b/weed/server/filer_server_handlers_write_autochunk.go
index e4f34443d..854b35f82 100644
--- a/weed/server/filer_server_handlers_write_autochunk.go
+++ b/weed/server/filer_server_handlers_write_autochunk.go
@@ -131,7 +131,7 @@ func isAppend(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) {