chore docs

This commit is contained in:
Tore S. Loenoey 2023-11-23 12:45:02 +01:00 committed by Tore Stendal Lønøy
parent 22fee07f88
commit cdc9029ad0
No known key found for this signature in database

View file

@ -565,7 +565,7 @@ func buildAuthLocation(input interface{}, globalExternalAuthURL string, c interf
}
// shouldApplyGlobalAuth returns true only in case when ExternalAuth.URL is not set and
// GlobalExternalAuth is set.
// GlobalExternalAuth is set, or if GlobalExternalAuth.DefaultEnable is true.
func shouldApplyGlobalAuth(input interface{}, globalExternalAuthURL string, c interface{}) bool {
location, ok := input.(*ingress.Location)
if !ok {