mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
return appropriate error upon tier update for incorrect credentials (#20034)
This commit is contained in:
@@ -64,6 +64,12 @@ var (
|
||||
Message: "Specified remote backend is not empty",
|
||||
StatusCode: http.StatusBadRequest,
|
||||
}
|
||||
|
||||
errTierInvalidConfig = AdminError{
|
||||
Code: "XMinioAdminTierInvalidConfig",
|
||||
Message: "Unable to setup remote tier, check tier configuration",
|
||||
StatusCode: http.StatusBadRequest,
|
||||
}
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user