Fix the name of the annotation in comments

This commit is contained in:
Andreas Kohn 2017-04-06 10:26:10 +02:00
parent 7ca7652ab2
commit 7130ed85bc
No known key found for this signature in database
GPG key ID: B03FDDBC66E99F92

View file

@ -194,7 +194,7 @@ func buildSSLPassthroughUpstreams(b interface{}, sslb interface{}) string {
} }
// buildLocation produces the location string, if the ingress has redirects // 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 { func buildLocation(input interface{}) string {
location, ok := input.(*ingress.Location) location, ok := input.(*ingress.Location)
if !ok { if !ok {
@ -264,7 +264,7 @@ func buildLogFormatUpstream(input interface{}) string {
} }
// buildProxyPass produces the proxy pass string, if the ingress has redirects // 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 // 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 // add a base tag in the head of the response from the service
func buildProxyPass(b interface{}, loc interface{}) string { func buildProxyPass(b interface{}, loc interface{}) string {