Fix lint code errors

This commit is contained in:
Manuel de Brito Fontes 2017-07-06 16:17:46 -04:00
parent b308be5333
commit 835aea4bab
3 changed files with 9 additions and 9 deletions

View file

@ -302,8 +302,8 @@ type Configuration struct {
// NewDefault returns the default nginx configuration
func NewDefault() Configuration {
defIPCIDR := make([]string, 0)
defIPCIDR = append(defIPCIDR, "0.0.0.0/0")
defIPCIDR := make([]string, 0)
defIPCIDR = append(defIPCIDR, "0.0.0.0/0")
cfg := Configuration{
AllowBackendServerHeader: false,
ClientHeaderBufferSize: "1k",