mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-19 10:54:08 +01:00
1 parent
1d1b355f9e
commit
9e47c4749a
2 files changed
+101
No files matched your search
@@ -96,6 +96,11 @@ func (fs *FilerServer) moveSelfEntry(ctx context.Context, oldParent filer2.FullP
|
||||
|
||||
glog.V(1).Infof("moving entry %s => %s", oldPath, newPath)
|
||||
|
||||
if oldPath == newPath {
|
||||
glog.V(1).Infof("skip moving entry %s => %s", oldPath, newPath)
|
||||
return nil
|
||||
}
|
||||
|
||||
// add to new directory
|
||||
newEntry := &filer2.Entry{
|
||||
FullPath: newPath,
|
||||
|
||||
Reference in new issue
Block a user