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, Extended: entry.Extended,
Content: entry.Content, Content: entry.Content,
} }
createErr := fs.filer.CreateEntry(ctx, newEntry, false, false, nil) if createErr := fs.filer.CreateEntry(ctx, newEntry, false, false, nil); createErr != nil {
if createErr != nil {
return createErr return createErr
} }