Do not allow different storage configurations to point to the same directory (#30169)

Replace #29171
This commit is contained in:
wxiaoguang authored and GitHub committed 2024-03-31 03:03:24 +00:00
1 parent 82ffd91607
commit 6d34ce25b1
12 files changed
+75 -47

No files matched your search

-4
View File
@@ -66,12 +66,8 @@ func init() {
AppWorkPath = filepath.Dir(AppPath)
}
fatalDuplicatedPath("app_work_path", AppWorkPath)
appWorkPathBuiltin = AppWorkPath
customPathBuiltin = CustomPath
fatalDuplicatedPath("custom_path", CustomPath)
customConfBuiltin = CustomConf
}