Remove blank lines from template rendering
This commit is contained in:
parent
ccaf15cdd4
commit
e603976721
6 changed files with 95 additions and 28 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue