summaryrefslogtreecommitdiffstats
path: root/client/go/internal/vespa/document/dispatcher_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'client/go/internal/vespa/document/dispatcher_test.go')
-rw-r--r--client/go/internal/vespa/document/dispatcher_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/go/internal/vespa/document/dispatcher_test.go b/client/go/internal/vespa/document/dispatcher_test.go
index 9bc0c76106c..834ec8490a6 100644
--- a/client/go/internal/vespa/document/dispatcher_test.go
+++ b/client/go/internal/vespa/document/dispatcher_test.go
@@ -48,7 +48,7 @@ func (f *mockFeeder) Send(doc Document) Result {
type mockCircuitBreaker struct{ state CircuitState }
func (c *mockCircuitBreaker) Success() {}
-func (c *mockCircuitBreaker) Error(err error) {}
+func (c *mockCircuitBreaker) Failure() {}
func (c *mockCircuitBreaker) State() CircuitState { return c.state }
func TestDispatcher(t *testing.T) {