mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 01:28:27 +08:00
Update base_param (#13863)
Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
parent
4b54710466
commit
fe4830046c
@ -13,6 +13,7 @@ package paramtable
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"os"
|
"os"
|
||||||
|
"path"
|
||||||
"strings"
|
"strings"
|
||||||
"sync"
|
"sync"
|
||||||
|
|
||||||
@ -99,7 +100,7 @@ func (p *BaseParamTable) initMetaRootPath() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
p.MetaRootPath = rootPath + "/" + subPath
|
p.MetaRootPath = path.Join(rootPath, subPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
func (p *BaseParamTable) initKvRootPath() {
|
func (p *BaseParamTable) initKvRootPath() {
|
||||||
@ -111,5 +112,5 @@ func (p *BaseParamTable) initKvRootPath() {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
p.KvRootPath = rootPath + "/" + subPath
|
p.KvRootPath = path.Join(rootPath, subPath)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user