Skip to content

Commit

Permalink
Fix Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
QuangTung97 committed Apr 8, 2024
1 parent 505aac4 commit 8566bc9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions curator/fake_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import (
stderrors "errors"
"testing"

"github.com/pkg/errors"
"github.com/stretchr/testify/assert"

"github.com/QuangTung97/zk"
Expand Down Expand Up @@ -1342,7 +1341,7 @@ func TestFakeClient_Retry_Happens_Before_Watch_Handlers(t *testing.T) {
c.addStep("get-req")
client.Get("/hello", func(resp zk.GetResponse, err error) {
c.addStep("get-resp")
if errors.Is(err, zk.ErrConnectionClosed) {
if stderrors.Is(err, zk.ErrConnectionClosed) {
sess.AddRetry(getFunc)
return
}
Expand Down

0 comments on commit 8566bc9

Please sign in to comment.