Skip to content

Commit

Permalink
Fix variable shadowing error causing migration slowdown (#7097)
Browse files Browse the repository at this point in the history
  • Loading branch information
xacrimon authored May 31, 2021
1 parent 1254477 commit 4ac06ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/events/dynamoevents/dynamoevents.go
Original file line number Diff line number Diff line change
Expand Up @@ -1204,7 +1204,7 @@ func (l *Log) uploadBatch(writeRequests []*dynamodb.WriteRequest) error {
return trace.Wrap(err)
}

writeRequests := out.UnprocessedItems[l.Tablename]
writeRequests = out.UnprocessedItems[l.Tablename]
if len(writeRequests) == 0 {
return nil
}
Expand Down

0 comments on commit 4ac06ba

Please sign in to comment.