diff --git a/schemaregistry/mock_schemaregistry_client.go b/schemaregistry/mock_schemaregistry_client.go index 7f86fb1f9..de382a52f 100644 --- a/schemaregistry/mock_schemaregistry_client.go +++ b/schemaregistry/mock_schemaregistry_client.go @@ -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 }