Skip to content

Commit f0d709f

Browse files
MINOR Fix counter in mock SR client (#1170)
* 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 <jenkins@confluent.io>
1 parent cb2701e commit f0d709f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

schemaregistry/mock_schemaregistry_client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,11 @@ type counter struct {
3131
count int
3232
}
3333

34-
func (c counter) currentValue() int {
34+
func (c *counter) currentValue() int {
3535
return c.count
3636
}
3737

38-
func (c counter) increment() int {
38+
func (c *counter) increment() int {
3939
c.count++
4040
return c.count
4141
}

0 commit comments

Comments
 (0)