fix: panic if minio port is empty (#28595)

#28460 
pr: https://github.com/milvus-io/milvus/pull/28461

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
pull/28701/head
zhagnlu 2023-11-23 20:18:33 +08:00 committed by GitHub
parent c73bb26782
commit e13b3aa9b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -954,6 +954,7 @@ func (p *MinioConfig) Init(base *BaseTable) {
DefaultValue: "9000",
Version: "2.0.0",
Doc: "Port of MinIO/S3",
PanicIfEmpty: true,
Export: true,
}
p.Port.Init(base.mgr)