Skip to content

Commit

Permalink
[release-1.7] gofmt 1.19 (#965)
Browse files Browse the repository at this point in the history
* gofmt 1.19

* nolint:gosec
  • Loading branch information
dprotaso authored Dec 8, 2022
1 parent 8311845 commit d6f4703
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/generator/ingress_translator.go
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@ func matchHeadersFromHTTPPath(httpPath v1alpha1.HTTPIngressPath) []*route.Header
// domainsForRule returns all domains for the given rule.
//
// For example, external domains returns domains with the following formats:
// - sub-route_host.namespace.example.com
// - sub-route_host.namespace.example.com:*
// - sub-route_host.namespace.example.com
// - sub-route_host.namespace.example.com:*
//
// Somehow envoy doesn't match properly gRPC authorities with ports.
// The fix is to include ":*" in the domains.
Expand Down
1 change: 1 addition & 0 deletions test/config/extauthz/http/src/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ func main() {
http.HandleFunc(fmt.Sprintf("%s/", pathPrefix), check)

log.Printf("Running the External Authz service.")
//nolint:gosec
if err := http.ListenAndServe(":8080", nil); err != nil {
panic(err)
}
Expand Down

0 comments on commit d6f4703

Please sign in to comment.