Skip to content

Commit

Permalink
MINOR Fix counter in mock SR client (#1170)
Browse files Browse the repository at this point in the history
* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* chore: update repo semaphore config

* MINOR fix counter in mock SR client

---------

Co-authored-by: Confluent Jenkins Bot <[email protected]>
  • Loading branch information
rayokota and ConfluentJenkins committed Apr 10, 2024
1 parent cb2701e commit f0d709f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions schemaregistry/mock_schemaregistry_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ type counter struct {
count int
}

func (c counter) currentValue() int {
func (c *counter) currentValue() int {
return c.count
}

func (c counter) increment() int {
func (c *counter) increment() int {
c.count++
return c.count
}
Expand Down

0 comments on commit f0d709f

Please sign in to comment.