rename: pass along entry metadata

This commit is contained in:
chrislu 2022-02-25 02:53:37 -08:00
parent e8110bb54c
commit e423548673

View file

@ -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