rename operation returns the correct old parent path

This commit is contained in:
liubaojiang
2021-12-10 00:02:57 +08:00
parent 40ee9b4d7b
commit c7abc34dbb
2 changed files with 2 additions and 2 deletions

View File

@@ -159,7 +159,7 @@ func (fs *FilerServer) moveSelfEntry(ctx context.Context, stream filer_pb.Seawee
}
if stream != nil {
if err := stream.Send(&filer_pb.StreamRenameEntryResponse{
Directory: string(newParent),
Directory: string(oldParent),
EventNotification: &filer_pb.EventNotification{
OldEntry: &filer_pb.Entry{
Name: entry.Name(),