Skip to content

Commit c8dbc2a

Browse files
committed
Fix lint issue
1 parent d7f5ca7 commit c8dbc2a

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

api/v1alpha1/webhook_suite_test.go

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,13 @@ limitations under the License.
1717
package v1alpha1
1818

1919
import (
20-
"context"
2120
"testing"
2221

2322
. "github.com/onsi/ginkgo"
2423
. "github.com/onsi/gomega"
2524

2625
//+kubebuilder:scaffold:imports
2726

28-
"sigs.k8s.io/controller-runtime/pkg/client"
29-
"sigs.k8s.io/controller-runtime/pkg/envtest"
3027
"sigs.k8s.io/controller-runtime/pkg/envtest/printer"
3128
logf "sigs.k8s.io/controller-runtime/pkg/log"
3229
"sigs.k8s.io/controller-runtime/pkg/log/zap"
@@ -35,11 +32,6 @@ import (
3532
// These tests use Ginkgo (BDD-style Go testing framework). Refer to
3633
// http://onsi.github.io/ginkgo/ to learn more about Ginkgo.
3734

38-
var k8sClient client.Client
39-
var testEnv *envtest.Environment
40-
var ctx context.Context
41-
var cancel context.CancelFunc
42-
4335
func TestAPIs(t *testing.T) {
4436
RegisterFailHandler(Fail)
4537

0 commit comments

Comments
 (0)