mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-12 01:07:35 +02:00
* store S3 storage class in extended atrributes #7961 * canonical * remove issue reference --------- Co-authored-by: Robert Schade <robert.schade@uni-paderborn.de> Co-authored-by: Chris Lu <chris.lu@gmail.com>
This commit is contained in:
4 files changed
+47
-5
No files matched your search
@@ -141,6 +141,7 @@ const (
|
||||
|
||||
// Bucket encryption errors
|
||||
ErrNoSuchBucketEncryptionConfiguration
|
||||
ErrInvalidStorageClass
|
||||
)
|
||||
|
||||
// Error message constants for checksum validation
|
||||
@@ -588,6 +589,11 @@ var errorCodeResponse = map[ErrorCode]APIError{
|
||||
Description: "The server side encryption configuration was not found.",
|
||||
HTTPStatusCode: http.StatusNotFound,
|
||||
},
|
||||
ErrInvalidStorageClass: {
|
||||
Code: "InvalidStorageClass",
|
||||
Description: "The storage class you specified is not valid",
|
||||
HTTPStatusCode: http.StatusBadRequest,
|
||||
},
|
||||
}
|
||||
|
||||
// GetAPIError provides API Error for input API error code.
|
||||
|
||||
Reference in new issue
Block a user