Skip to content

Commit

Permalink
chore: fix lint (#3309)
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
  • Loading branch information
zirain committed Apr 30, 2024
1 parent d6a36af commit d32256c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion internal/gatewayapi/envoyextensionpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,6 @@ func (t *Translator) buildExtProc(
egv1a1.KindEnvoyExtensionPolicy,
ir.GRPC,
resources)

if err != nil {
return nil, err
}
Expand Down
2 changes: 0 additions & 2 deletions internal/provider/kubernetes/indexers.go
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,6 @@ func backendEnvoyExtensionPolicyIndexFunc(rawObj client.Object) []string {
var ret []string

for _, ep := range envoyExtensionPolicy.Spec.ExtProc {

for _, br := range ep.BackendRefs {
backendRef := br.BackendObjectReference
ret = append(ret,
Expand All @@ -544,7 +543,6 @@ func backendEnvoyExtensionPolicyIndexFunc(rawObj client.Object) []string {
Name: string(backendRef.Name),
}.String())
}

}

return ret
Expand Down

0 comments on commit d32256c

Please sign in to comment.