mirror of
https://github.com/pgsty/minio.git
synced 2026-07-15 16:30:29 +03:00
Validate config before saving changes after config reset (#14203)
This commit is contained in:
@@ -82,7 +82,7 @@ func RegisterNotificationTargets(ctx context.Context, cfg config.Config, transpo
|
||||
for _, targetID := range targetIDs {
|
||||
if !targetList.Exists(targetID) {
|
||||
return nil, config.Errorf(
|
||||
"Unable to disable configured targets '%v'",
|
||||
"Unable to disable currently configured targets '%v'",
|
||||
targetID)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user