Browse Source

minor

pull/2128/head
Chris Lu 4 years ago
parent
commit
ed6aa13520
  1. 3
      weed/server/filer_grpc_server_rename.go

3
weed/server/filer_grpc_server_rename.go

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

Loading…
Cancel
Save