mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-29 00:10:42 +01:00
skip checking if it is the root directory
This commit is contained in:
1 parent
114ac39917
commit
d29fccc521
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user