Skip to content

Commit

Permalink
Remove unused param
Browse files Browse the repository at this point in the history
  • Loading branch information
nathancoleman committed Apr 12, 2024
1 parent 6eb7cfd commit 8c2e147
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/xds/listeners_apigateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -435,7 +435,7 @@ func (s *ResourceGenerator) makeInlineOverrideFilterChains(cfgSnap *proxycfg.Con
return nil
}

constructTLSContext := func(tlsConfig structs.APIGatewayTLSConfiguration, certConfig structs.ConfigEntry) (*envoy_tls_v3.CommonTlsContext, error) {
constructTLSContext := func(certConfig structs.ConfigEntry) (*envoy_tls_v3.CommonTlsContext, error) {
switch tce := certConfig.(type) {
case *structs.InlineCertificateConfigEntry:
return &envoy_tls_v3.CommonTlsContext{
Expand Down Expand Up @@ -479,7 +479,7 @@ func (s *ResourceGenerator) makeInlineOverrideFilterChains(cfgSnap *proxycfg.Con
for _, cert := range certs {
// TODO Delivering via SDS is semi-required in order to get file system watches today.
// https://github.com/envoyproxy/envoy/issues/10387
tlsContext, err := constructTLSContext(tlsCfg, cert)
tlsContext, err := constructTLSContext(cert)
if err != nil {
continue
}
Expand Down

0 comments on commit 8c2e147

Please sign in to comment.