Skip to content

Commit 81f65cc

Browse files
committed
lint
Signed-off-by: zirain <zirain2009@gmail.com>
1 parent 798eac7 commit 81f65cc

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

internal/gatewayapi/status/envoyproxy.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
package status
77

88
import (
9-
egv1a1 "github.com/envoyproxy/gateway/api/v1alpha1"
109
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
1110
gwapiv1 "sigs.k8s.io/gateway-api/apis/v1"
11+
12+
egv1a1 "github.com/envoyproxy/gateway/api/v1alpha1"
1213
)
1314

1415
func UpdateEnvoyProxyStatusAccepted(ep *egv1a1.EnvoyProxy, ancestor *gwapiv1.ParentReference,

internal/gatewayapi/translator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ func (t *Translator) GetRelevantGateways(resources *resource.Resources) (
458458

459459
var ancestor *gwapiv1.ParentReference
460460
if gCtx.envoyProxyFromGateway {
461-
// didn't need to update EnvoyProxy status if it's inherted
461+
// didn't need to update EnvoyProxy status if it's inherited
462462
// from GatewayClass/EnvoyGateway.
463463
ancestor = &gwapiv1.ParentReference{
464464
Group: GroupPtr(gwapiv1.GroupName),

0 commit comments

Comments
 (0)