From 192c551abb45ee92c3ec7da213f5a86291d2976c Mon Sep 17 00:00:00 2001 From: Marcin Owsiany Date: Fri, 24 Feb 2017 12:05:28 +0100 Subject: [PATCH] Fix for formatting error introduced in #304. Why don't we fail the travis build when go fmt is unhappy? --- controllers/nginx/pkg/template/template.go | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/controllers/nginx/pkg/template/template.go b/controllers/nginx/pkg/template/template.go index 4e35b31033..a4ec4b4e4c 100644 --- a/controllers/nginx/pkg/template/template.go +++ b/controllers/nginx/pkg/template/template.go @@ -126,15 +126,15 @@ var ( } return true }, - "buildLocation": buildLocation, - "buildAuthLocation": buildAuthLocation, - "buildProxyPass": buildProxyPass, - "buildRateLimitZones": buildRateLimitZones, - "buildRateLimit": buildRateLimit, + "buildLocation": buildLocation, + "buildAuthLocation": buildAuthLocation, + "buildProxyPass": buildProxyPass, + "buildRateLimitZones": buildRateLimitZones, + "buildRateLimit": buildRateLimit, "buildSSLPassthroughUpstreams": buildSSLPassthroughUpstreams, - "buildResolvers": buildResolvers, - "isLocationAllowed": isLocationAllowed, - "buildStreamUpstreams": buildStreamUpstreams, + "buildResolvers": buildResolvers, + "isLocationAllowed": isLocationAllowed, + "buildStreamUpstreams": buildStreamUpstreams, "contains": strings.Contains, "hasPrefix": strings.HasPrefix,