diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-03-27 00:30:39 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-03-27 00:30:39 -0700 |
| commit | 2f5ed29c37c204fb461498b9f3c51f76442ca01c (patch) | |
| tree | 6d68d3653bb440fe57c44c38544da64fab5a8856 /weed/filesys/dir_rename.go | |
| parent | 2286eda575861cceb4464bf677e9885e069de385 (diff) | |
| download | seaweedfs-2f5ed29c37c204fb461498b9f3c51f76442ca01c.tar.xz seaweedfs-2f5ed29c37c204fb461498b9f3c51f76442ca01c.zip | |
clean up
Diffstat (limited to 'weed/filesys/dir_rename.go')
| -rw-r--r-- | weed/filesys/dir_rename.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/weed/filesys/dir_rename.go b/weed/filesys/dir_rename.go index f8dbdbb6a..ea40f5c31 100644 --- a/weed/filesys/dir_rename.go +++ b/weed/filesys/dir_rename.go @@ -2,7 +2,6 @@ package filesys import ( "context" - "fmt" "github.com/chrislusf/seaweedfs/weed/glog" "github.com/chrislusf/seaweedfs/weed/pb/filer_pb" @@ -43,7 +42,7 @@ func (dir *Dir) Rename(ctx context.Context, req *fuse.RenameRequest, newDirector dir.wfs.cacheDelete(newPath) dir.wfs.cacheDelete(oldPath) - fmt.Printf("rename path: %v => %v\n", oldPath, newPath) + // fmt.Printf("rename path: %v => %v\n", oldPath, newPath) dir.wfs.fsNodeCache.Move(oldPath, newPath) } |
