mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-18 04:13:10 -06:00
Don't overshadow err (fix lint issue)
This commit is contained in:
parent
83eee79d1b
commit
40495491cb
|
|
@ -172,7 +172,7 @@ func (d *SyncServerDatasource) WriteEvent(
|
|||
}
|
||||
pduPosition = pos
|
||||
|
||||
if err := d.handleBackwardExtremities(ctx, ev); err != nil {
|
||||
if err = d.handleBackwardExtremities(ctx, ev); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue