Fix DefaultFactory using wrong rootPath config (#18876)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/18896/head
congqixia 2022-08-29 12:36:55 +08:00 committed by GitHub
parent 256be143c2
commit cea546ba09
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ func (f *DefaultFactory) Init(params *paramtable.ComponentParam) {
storage.RootPath(params.LocalStorageCfg.Path))
} else {
f.chunkManagerFactory = storage.NewChunkManagerFactory("local", "minio",
storage.RootPath(params.LocalStorageCfg.Path),
storage.RootPath(params.MinioCfg.RootPath),
storage.Address(params.MinioCfg.Address),
storage.AccessKeyID(params.MinioCfg.AccessKeyID),
storage.SecretAccessKeyID(params.MinioCfg.SecretAccessKey),