Browse Source

rename: pass along entry metadata

original_weed_mount
chrislu 3 years ago
parent
commit
e423548673
  1. 4
      weed/server/filer_grpc_server_rename.go

4
weed/server/filer_grpc_server_rename.go

@ -168,6 +168,10 @@ func (fs *FilerServer) moveSelfEntry(ctx context.Context, stream filer_pb.Seawee
Chunks: entry.Chunks,
Extended: entry.Extended,
Content: entry.Content,
HardLinkCounter: entry.HardLinkCounter,
HardLinkId: entry.HardLinkId,
Remote: entry.Remote,
Quota: entry.Quota,
}
if createErr := fs.filer.CreateEntry(ctx, newEntry, false, false, signatures); createErr != nil {
return createErr

Loading…
Cancel
Save