mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-10-21 09:07:23 +08:00
webdav: fix directory renaming
This commit is contained in:
@@ -106,7 +106,7 @@ func GetEntry(ctx context.Context, filerClient FilerClient, fullFilePath string)
|
||||
resp, err := client.LookupDirectoryEntry(ctx, request)
|
||||
if err != nil {
|
||||
if err == ErrNotFound || strings.Contains(err.Error(), ErrNotFound.Error()) {
|
||||
return ErrNotFound
|
||||
return nil
|
||||
}
|
||||
glog.V(3).Infof("read %s attr %v: %v", fullFilePath, request, err)
|
||||
return err
|
||||
|
Reference in New Issue
Block a user