mirror of
https://github.com/minio/minio.git
synced 2025-04-20 18:44:21 -04:00
parent
2c0b3cadfc
commit
a73da7755e
@ -31,6 +31,7 @@ import (
|
|||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"github.com/minio/minio/cmd/crypto"
|
||||||
"github.com/minio/minio/cmd/logger"
|
"github.com/minio/minio/cmd/logger"
|
||||||
"github.com/minio/minio/pkg/event"
|
"github.com/minio/minio/pkg/event"
|
||||||
xnet "github.com/minio/minio/pkg/net"
|
xnet "github.com/minio/minio/pkg/net"
|
||||||
@ -910,6 +911,11 @@ func (args eventArgs) ToEvent() event.Event {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func sendEvent(args eventArgs) {
|
func sendEvent(args eventArgs) {
|
||||||
|
|
||||||
|
// remove sensitive encryption entries in metadata.
|
||||||
|
crypto.RemoveSensitiveEntries(args.Object.UserDefined)
|
||||||
|
crypto.RemoveInternalEntries(args.Object.UserDefined)
|
||||||
|
|
||||||
// globalNotificationSys is not initialized in gateway mode.
|
// globalNotificationSys is not initialized in gateway mode.
|
||||||
if globalNotificationSys == nil {
|
if globalNotificationSys == nil {
|
||||||
return
|
return
|
||||||
|
Loading…
x
Reference in New Issue
Block a user