This commit is contained in:
Chris Lu 2021-06-12 18:36:25 -07:00
parent ee6c67682c
commit ed6aa13520

View File

@ -115,8 +115,7 @@ func (fs *FilerServer) moveSelfEntry(ctx context.Context, oldParent util.FullPat
Extended: entry.Extended,
Content: entry.Content,
}
createErr := fs.filer.CreateEntry(ctx, newEntry, false, false, nil)
if createErr != nil {
if createErr := fs.filer.CreateEntry(ctx, newEntry, false, false, nil); createErr != nil {
return createErr
}