Allow empty AK/SK for minio cfg (#21815)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/21821/head
congqixia 2023-01-19 15:49:44 +08:00 committed by GitHub
parent 5986106037
commit 54ec22e879
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -604,14 +604,14 @@ func (p *MinioConfig) Init(base *BaseTable) {
p.AccessKeyID = ParamItem{
Key: "minio.accessKeyID",
Version: "2.0.0",
PanicIfEmpty: true,
PanicIfEmpty: false, // tmp fix, need to be conditional
}
p.AccessKeyID.Init(base.mgr)
p.SecretAccessKey = ParamItem{
Key: "minio.secretAccessKey",
Version: "2.0.0",
PanicIfEmpty: true,
PanicIfEmpty: false, // tmp fix, need to be conditional
}
p.SecretAccessKey.Init(base.mgr)