mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
return appropriate error upon tier update for incorrect credentials (#20034)
This commit is contained in:
+2
-1
@@ -144,7 +144,8 @@ func newWarmBackend(ctx context.Context, tier madmin.TierConfig, probe bool) (d
|
||||
return nil, errTierTypeUnsupported
|
||||
}
|
||||
if err != nil {
|
||||
return nil, errTierTypeUnsupported
|
||||
tierLogIf(ctx, err)
|
||||
return nil, errTierInvalidConfig
|
||||
}
|
||||
|
||||
if probe {
|
||||
|
||||
Reference in New Issue
Block a user