Skip to content

Commit 62d1ca7

Browse files
committed
fix: lint
1 parent 6ff5e69 commit 62d1ca7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

internal/controllers/monitoring/monitoring_test.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ import (
1515
"sigs.k8s.io/controller-runtime/pkg/client"
1616
"sigs.k8s.io/controller-runtime/pkg/manager"
1717

18-
"github.com/ydb-platform/ydb-kubernetes-operator/api/v1alpha1"
1918
api "github.com/ydb-platform/ydb-kubernetes-operator/api/v1alpha1"
2019
. "github.com/ydb-platform/ydb-kubernetes-operator/internal/controllers/constants" //nolint:revive,stylecheck
2120
"github.com/ydb-platform/ydb-kubernetes-operator/internal/controllers/monitoring"
@@ -132,7 +131,7 @@ func createMockStorageAndSvc() {
132131
}
133132

134133
func cleanupMockStorageAndSvc() {
135-
storage := v1alpha1.Storage{}
134+
storage := api.Storage{}
136135
Expect(k8sClient.Get(ctx, types.NamespacedName{
137136
Name: testobjects.StorageName,
138137
Namespace: testobjects.YdbNamespace,
@@ -150,7 +149,7 @@ func cleanupMockStorageAndSvc() {
150149
func cleanupMockDatabaseAndSvc() {
151150
cleanupMockStorageAndSvc()
152151

153-
database := v1alpha1.Database{}
152+
database := api.Database{}
154153
Expect(k8sClient.Get(ctx, types.NamespacedName{
155154
Name: testobjects.DatabaseName,
156155
Namespace: testobjects.YdbNamespace,

0 commit comments

Comments
 (0)