Fix the name of the annotation in comments
This commit is contained in:
parent
7ca7652ab2
commit
7130ed85bc
1 changed files with 2 additions and 2 deletions
|
@ -194,7 +194,7 @@ func buildSSLPassthroughUpstreams(b interface{}, sslb interface{}) string {
|
|||
}
|
||||
|
||||
// buildLocation produces the location string, if the ingress has redirects
|
||||
// (specified through the ingress.kubernetes.io/rewrite-to annotation)
|
||||
// (specified through the ingress.kubernetes.io/rewrite-target annotation)
|
||||
func buildLocation(input interface{}) string {
|
||||
location, ok := input.(*ingress.Location)
|
||||
if !ok {
|
||||
|
@ -264,7 +264,7 @@ func buildLogFormatUpstream(input interface{}) string {
|
|||
}
|
||||
|
||||
// buildProxyPass produces the proxy pass string, if the ingress has redirects
|
||||
// (specified through the ingress.kubernetes.io/rewrite-to annotation)
|
||||
// (specified through the ingress.kubernetes.io/rewrite-target annotation)
|
||||
// If the annotation ingress.kubernetes.io/add-base-url:"true" is specified it will
|
||||
// add a base tag in the head of the response from the service
|
||||
func buildProxyPass(b interface{}, loc interface{}) string {
|
||||
|
|
Loading…
Reference in a new issue