Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
l0kix2 committed Jul 23, 2024
1 parent 1e66767 commit 409f3ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/e2e/ytsaurus_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"go.ytsaurus.tech/yt/go/mapreduce/spec"
"go.ytsaurus.tech/yt/go/yt/ytrpc"
"go.ytsaurus.tech/yt/go/yterrors"
"k8s.io/apimachinery/pkg/api/errors"
apierrors "k8s.io/apimachinery/pkg/api/errors"

corev1 "k8s.io/api/core/v1"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
Expand Down Expand Up @@ -811,7 +811,7 @@ var _ = Describe("Basic test for Ytsaurus controller", func() {

Eventually(ctx, func() bool {
pod, err := getDsPod()
if errors.IsNotFound(err) {
if apierrors.IsNotFound(err) {
return false
}
dsPodCreatedAfter := pod.CreationTimestamp
Expand Down

0 comments on commit 409f3ad

Please sign in to comment.