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
+1
View File
@@ -75,6 +75,7 @@ type Endpoint struct {
PoolIdx, SetIdx, DiskIdx int
}
// Equal returns true if endpoint == ep
func (endpoint Endpoint) Equal(ep Endpoint) bool {
if endpoint.IsLocal == ep.IsLocal && endpoint.PoolIdx == ep.PoolIdx && endpoint.SetIdx == ep.SetIdx && endpoint.DiskIdx == ep.DiskIdx {
if endpoint.Path == ep.Path && endpoint.Host == ep.Host {