fix: Panic if minio port is empty (#28461)

#28460

Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
pull/28702/head
zhagnlu 2023-11-23 19:24:25 +08:00 committed by GitHub
parent b1f15fa0e8
commit bc43c5cf34
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)