Skip to content

Commit

Permalink
Fix non-initialized formatted variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas Eckert committed Aug 29, 2022
1 parent b92c91b commit 224d30e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cli/cmd/proxy/read/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,8 @@ func parseSecrets(rawCfg map[string]interface{}) ([]Secret, error) {
}

func formatFilters(filters []filter) []string {
formatted := []string{}

// Filters can have many custom configurations, each must be handled differently.
// [List of known extensions](https://www.envoyproxy.io/docs/envoy/latest/api-v3/config/listener/v3/listener_components.proto).
formatters := map[string]func(filter) string{
Expand Down

0 comments on commit 224d30e

Please sign in to comment.