Skip to content

Commit f967a99

Browse files
committed
fix linting
Signed-off-by: Eric Pickard <piceri@github.com>
1 parent c58ea29 commit f967a99

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

internal/controller/controller_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package controller
22

33
import (
44
"context"
5+
"errors"
56
"fmt"
67
"sync"
78
"testing"
@@ -545,7 +546,7 @@ func TestRun_InformerSyncTimeout(t *testing.T) {
545546
fakeClient.PrependReactor("list", "*", func(_ k8stesting.Action) (bool, runtime.Object, error) {
546547
// Block until the test completes.
547548
<-blocker
548-
return true, nil, fmt.Errorf("fail")
549+
return true, nil, errors.New("fail")
549550
})
550551
defer close(blocker)
551552

0 commit comments

Comments
 (0)