diff options
| author | Chris Lu <chrislusf@users.noreply.github.com> | 2022-03-18 18:20:15 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-18 18:20:15 -0700 |
| commit | 46155601827469cf01962c2af5e0d79c8472e377 (patch) | |
| tree | cf3409611e627c7e27c5499b0cacd33cc721561f | |
| parent | b1a819ebd8ec0444d22c45a55fd4a1c41058e31f (diff) | |
| parent | 9f16df736ef9117f7c819e1c55ae376372144a31 (diff) | |
| download | seaweedfs-46155601827469cf01962c2af5e0d79c8472e377.tar.xz seaweedfs-46155601827469cf01962c2af5e0d79c8472e377.zip | |
Merge pull request #2776 from zhuqunzhou/master
| -rw-r--r-- | weed/server/filer_server_handlers_write_autochunk.go | 2 |
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) { |
