Remove secretkey and accesskey log print for MinIO (#11130)

Signed-off-by: xiaofan-luan <xiaofan.luan@zilliz.com>
pull/11153/head
Xiaofan 2021-11-03 13:04:09 +08:00 committed by GitHub
parent cd79fd07c4
commit 2b0f1a14ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -54,7 +54,6 @@ type Option struct {
func NewMinIOKV(ctx context.Context, option *Option) (*MinIOKV, error) {
var minIOClient *minio.Client
var err error
log.Debug("MinioKV NewMinioKV", zap.Any("option", option))
minIOClient, err = minio.New(option.Address, &minio.Options{
Creds: credentials.NewStaticV4(option.AccessKeyID, option.SecretAccessKeyID, ""),
Secure: option.UseSSL,