Skip to content

Commit b0e6a7b

Browse files
committed
sort import
1 parent f061323 commit b0e6a7b

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

internal/controller/gateway_controller.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"fmt"
77
"reflect"
88

9+
"github.com/api7/gopkg/pkg/log"
910
"github.com/go-logr/logr"
1011
corev1 "k8s.io/api/core/v1"
1112
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -19,8 +20,6 @@ import (
1920
"sigs.k8s.io/controller-runtime/pkg/reconcile"
2021
gatewayv1 "sigs.k8s.io/gateway-api/apis/v1"
2122

22-
"github.com/api7/gopkg/pkg/log"
23-
2423
"github.com/api7/api7-ingress-controller/api/v1alpha1"
2524
"github.com/api7/api7-ingress-controller/internal/controller/indexer"
2625
"github.com/api7/api7-ingress-controller/internal/provider"

internal/controller/utils.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"reflect"
88
"strings"
99

10+
"github.com/api7/gopkg/pkg/log"
1011
"github.com/samber/lo"
1112
"go.uber.org/zap"
1213
corev1 "k8s.io/api/core/v1"
@@ -18,8 +19,6 @@ import (
1819
"sigs.k8s.io/controller-runtime/pkg/reconcile"
1920
gatewayv1 "sigs.k8s.io/gateway-api/apis/v1"
2021

21-
"github.com/api7/gopkg/pkg/log"
22-
2322
"github.com/api7/api7-ingress-controller/api/v1alpha1"
2423
"github.com/api7/api7-ingress-controller/internal/controller/config"
2524
"github.com/api7/api7-ingress-controller/internal/provider"

test/e2e/gatewayapi/gateway.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ spec:
196196
})
197197

198198
Context("Gateway SSL with and without hostname", func() {
199-
FIt("Check if SSL resource was created and updated", func() {
199+
It("Check if SSL resource was created and updated", func() {
200200
By("create GatewayProxy")
201201
gatewayProxy := fmt.Sprintf(gatewayProxyYaml, framework.DashboardTLSEndpoint, s.AdminKey())
202202
err := s.CreateResourceFromString(gatewayProxy)

0 commit comments

Comments
 (0)