Remove blank lines from template rendering

This commit is contained in:
Manuel de Brito Fontes 2016-05-30 13:39:10 -04:00
parent ccaf15cdd4
commit e603976721
6 changed files with 95 additions and 28 deletions

View file

@ -17,6 +17,7 @@ limitations under the License.
package nginx
import (
"k8s.io/contrib/ingress/controllers/nginx/nginx/ratelimit"
"k8s.io/contrib/ingress/controllers/nginx/nginx/rewrite"
)
@ -93,6 +94,7 @@ type Location struct {
IsDefBackend bool
Upstream Upstream
Redirect rewrite.Redirect
RateLimit ratelimit.RateLimit
}
// LocationByPath sorts location by path