diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-05-12 22:30:39 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-05-12 22:30:39 -0700 |
| commit | 26a55bbb5c1156ede00540c18d82a5c1f1713d7f (patch) | |
| tree | a52344b2f8996e874c89255d9c2df42d0affc711 /weed/s3api/s3err/s3api_errors.go | |
| parent | ceb620a30a51c565bd281b2eae0d2c62701fc49d (diff) | |
| download | seaweedfs-26a55bbb5c1156ede00540c18d82a5c1f1713d7f.tar.xz seaweedfs-26a55bbb5c1156ede00540c18d82a5c1f1713d7f.zip | |
Adjust error message when bucket name conflicts with existing collections
fix https://github.com/chrislusf/seaweedfs/issues/2069
Diffstat (limited to 'weed/s3api/s3err/s3api_errors.go')
| -rw-r--r-- | weed/s3api/s3err/s3api_errors.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/s3api/s3err/s3api_errors.go b/weed/s3api/s3err/s3api_errors.go index a3f7bb25e..877c39a52 100644 --- a/weed/s3api/s3err/s3api_errors.go +++ b/weed/s3api/s3err/s3api_errors.go @@ -116,7 +116,7 @@ var errorCodeResponse = map[ErrorCode]APIError{ }, ErrBucketAlreadyExists: { Code: "BucketAlreadyExists", - Description: "The requested bucket name is not available. The bucket namespace is shared by all users of the system. Please select a different name and try again.", + Description: "The requested bucket name is not available. The bucket name can not be an existing collection, and the bucket namespace is shared by all users of the system. Please select a different name and try again.", HTTPStatusCode: http.StatusConflict, }, ErrBucketAlreadyOwnedByYou: { |
