diff options
| author | chrislu <chris.lu@gmail.com> | 2024-07-07 23:44:23 -0700 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2024-07-07 23:44:36 -0700 |
| commit | d29fccc521184707adcc7d5d6c11ea4247e824fd (patch) | |
| tree | fa6b3e6b9463c91990b32b9a0b32b8c8ba47339f | |
| parent | 114ac39917bf03a0e7a07fe62d7373d936ff4b4e (diff) | |
| download | seaweedfs-d29fccc521184707adcc7d5d6c11ea4247e824fd.tar.xz seaweedfs-d29fccc521184707adcc7d5d6c11ea4247e824fd.zip | |
skip checking if it is the root directory
| -rw-r--r-- | weed/filer/filerstore_wrapper.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/filerstore_wrapper.go b/weed/filer/filerstore_wrapper.go index 48e2a636d..9c448edfd 100644 --- a/weed/filer/filerstore_wrapper.go +++ b/weed/filer/filerstore_wrapper.go @@ -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 |
