未验证 提交 2b0f1a14 编写于 作者: X Xiaofan 提交者: GitHub

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

Signed-off-by: Nxiaofan-luan <xiaofan.luan@zilliz.com>
上级 cd79fd07
......@@ -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,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册