mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
[mount] [regression] filer.path
option results in empty mount in 2.32
fix https://github.com/chrislusf/seaweedfs/issues/1906
This commit is contained in:
parent
9f00f95bfb
commit
22a07a12d2
|
@ -552,5 +552,8 @@ func (dir *Dir) saveEntry() error {
|
|||
}
|
||||
|
||||
func (dir *Dir) FullPath() string {
|
||||
if dir.wfs.option.FilerMountRootPath == "/" {
|
||||
return string(dir.entry.FullPath)
|
||||
}
|
||||
return string(dir.entry.FullPath)[len(dir.wfs.option.FilerMountRootPath):]
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue