Skip to content

Commit 9a0444f

Browse files
committed
fix lint
1 parent ff12870 commit 9a0444f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

percona/k8s/testutils_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515

1616
"github.com/percona/percona-postgresql-operator/internal/naming"
1717
pNaming "github.com/percona/percona-postgresql-operator/percona/naming"
18-
pgv2 "github.com/percona/percona-postgresql-operator/pkg/apis/pgv2.percona.com/v2"
1918
v2 "github.com/percona/percona-postgresql-operator/pkg/apis/pgv2.percona.com/v2"
2019
"github.com/percona/percona-postgresql-operator/pkg/apis/postgres-operator.crunchydata.com/v1beta1"
2120
)
@@ -63,7 +62,7 @@ func buildFakeClient(ctx context.Context, cr *v2.PerconaPGCluster, objs ...clien
6362

6463
cl := new(fakeClient)
6564
cl.Client = fake.NewClientBuilder().WithScheme(s).WithObjects(objs...).WithStatusSubresource(objs...).
66-
WithIndex(new(pgv2.PerconaPGBackup), pgv2.IndexFieldPGCluster, pgv2.PGClusterIndexerFunc).
65+
WithIndex(new(v2.PerconaPGBackup), v2.IndexFieldPGCluster, v2.PGClusterIndexerFunc).
6766
Build()
6867

6968
return cl, nil

0 commit comments

Comments
 (0)