Disallow duplicate storage paths (#26484)

Replace #26380
This commit is contained in:
Lunny Xiao authored and GitHub committed 2024-02-09 14:06:03 +00:00
1 parent c7a21cbb0c
commit 92fda9c5a2
7 files changed
+42 -20

No files matched your search

+2
View File
@@ -240,6 +240,8 @@ func getStorageForLocal(targetSec, overrideSec ConfigSection, tp targetSecType,
}
}
fatalDuplicatedPath("storage."+name, storage.Path)
return &storage, nil
}