mirror of
https://github.com/pgsty/minio.git
synced 2026-07-15 16:30:29 +03:00
Keep an up-to-date copy of the KMS master key (#19492)
This commit is contained in:
@@ -193,3 +193,11 @@ func tierLogIf(ctx context.Context, err error, errKind ...interface{}) {
|
||||
func kmsLogIf(ctx context.Context, err error, errKind ...interface{}) {
|
||||
logger.LogIf(ctx, "kms", err, errKind...)
|
||||
}
|
||||
|
||||
// Logger permits access to module specific logging
|
||||
type Logger struct{}
|
||||
|
||||
// LogOnceIf is the implementation of LogOnceIf, accessible using the Logger interface
|
||||
func (l Logger) LogOnceIf(ctx context.Context, subsystem string, err error, id string, errKind ...interface{}) {
|
||||
logger.LogOnceIf(ctx, subsystem, err, id, errKind...)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user