Skip to content

Commit

Permalink
maint: Fix typo in request counter (#123)
Browse files Browse the repository at this point in the history
## Which problem is this PR solving?
There's a typo in the request counter.

## Short description of the changes
- Fixes typo

Co-authored-by: Jamie Danielson <jamieedanielson@gmail.com>
  • Loading branch information
MikeGoldsmith and JamieDanielson committed Aug 24, 2023
1 parent 9708f84 commit 6d11b26
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions assemblers/request_counter.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package assemblers
import "sync"

type requestCounter struct {
requests uint64
respones uint64
requests uint64
responses uint64
sync.Mutex
}

Expand All @@ -20,6 +20,6 @@ func (c *requestCounter) incrementResponse() uint64 {
c.Lock()
defer c.Unlock()

c.respones++
return c.respones
c.responses++
return c.responses
}

0 comments on commit 6d11b26

Please sign in to comment.