mirror of https://github.com/milvus-io/milvus.git
remove redundant slashes (#18750)
Signed-off-by: wanggang11335 <wanggang11335@autohome.com.cn> Signed-off-by: wanggang11335 <wanggang11335@autohome.com.cn> Co-authored-by: wanggang11335 <wanggang11335@autohome.com.cn>pull/18787/head
parent
c8bf2823c6
commit
cd2622390c
|
@ -158,7 +158,7 @@ func (gp *BaseTable) initConfPath() string {
|
|||
configDir = runPath + "/configs/"
|
||||
if _, err := os.Stat(configDir); err != nil {
|
||||
_, fpath, _, _ := runtime.Caller(0)
|
||||
configDir = path.Dir(fpath) + "/../../../configs/"
|
||||
configDir = path.Dir(fpath) + "/../../../configs"
|
||||
}
|
||||
}
|
||||
return configDir
|
||||
|
|
Loading…
Reference in New Issue