store S3 storage class in extended atrributes #7961 (#7962)

* 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:
authored and GitHub committed 2026-01-04 11:24:43 -08:00
1 parent c909724bf1
commit de3df211d7
4 files changed
+47 -5

No files matched your search

+6
View File
@@ -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.