mirror of
https://github.com/minio/minio.git
synced 2025-11-07 12:52:58 -05:00
keep bucket metadata fields to be consistent (#9660)
added bonus reload bucket metadata always after a successful MakeBucket, current we were only doing it with object locking enabled.
This commit is contained in:
@@ -74,6 +74,7 @@ func (api objectAPIHandlers) GetBucketNotificationHandler(w http.ResponseWriter,
|
||||
writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL, guessIsBrowserReq(r))
|
||||
return
|
||||
}
|
||||
config.SetRegion(globalServerRegion)
|
||||
if err = config.Validate(globalServerRegion, globalNotificationSys.targetList); err != nil {
|
||||
arnErr, ok := err.(*event.ErrARNNotFound)
|
||||
if ok {
|
||||
|
||||
Reference in New Issue
Block a user