skip checking if it is the root directory

This commit is contained in:
chrislu
2024-07-07 23:44:23 -07:00
parent 114ac39917
commit d29fccc521

View File

@@ -85,7 +85,7 @@ func (fsw *FilerStoreWrapper) AddPathSpecificStore(path string, storeId string,
func (fsw *FilerStoreWrapper) getActualStore(path util.FullPath) (store FilerStore) {
store = fsw.defaultStore
if path == "/" {
if path == "/" || path == "//" {
return
}
var storeId string