ignore x-amz-storage-class when its set to STANDARD (#19154)

fixes #19135
This commit is contained in:
Harshavardhana
2024-02-28 17:44:30 -08:00
committed by GitHub
parent f8696cc8f6
commit 467714f33b
5 changed files with 21 additions and 1 deletions

View File

@@ -81,7 +81,7 @@ func getStorageViaEndpoint(endpoint Endpoint) StorageAPI {
if len(globalLocalSetDrives) == 0 {
for _, drive := range globalLocalDrives {
if drive != nil && drive.Endpoint().Equal(endpoint) {
return drive
return drive
}
}
}