Fix typo in comments
This commit is contained in:
parent
2954bd0169
commit
a8963a77a0
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ func TestCrossplaneTemplate(t *testing.T) {
|
||||||
|
|
||||||
tplConfig.Cfg.UseProxyProtocol = true
|
tplConfig.Cfg.UseProxyProtocol = true
|
||||||
|
|
||||||
tplConfig.Cfg.GRPCBufferSizeKb = 10 //default 0
|
tplConfig.Cfg.GRPCBufferSizeKb = 10 // default 0
|
||||||
|
|
||||||
tplConfig.Cfg.HTTP2MaxHeaderSize = "10" // default ""
|
tplConfig.Cfg.HTTP2MaxHeaderSize = "10" // default ""
|
||||||
tplConfig.Cfg.HTTP2MaxFieldSize = "10" // default ""
|
tplConfig.Cfg.HTTP2MaxFieldSize = "10" // default ""
|
||||||
|
@ -114,7 +114,7 @@ func TestCrossplaneTemplate(t *testing.T) {
|
||||||
|
|
||||||
tplConfig.Cfg.AllowBackendServerHeader = true // default false
|
tplConfig.Cfg.AllowBackendServerHeader = true // default false
|
||||||
tplConfig.Cfg.BlockCIDRs = []string{"192.168.0.0/24", " 200.200.0.0/16 "} // default 0
|
tplConfig.Cfg.BlockCIDRs = []string{"192.168.0.0/24", " 200.200.0.0/16 "} // default 0
|
||||||
tplConfig.Cfg.BlockUserAgents = []string{"someuseragent", " another/user-agent "} //default 0
|
tplConfig.Cfg.BlockUserAgents = []string{"someuseragent", " another/user-agent "} // default 0
|
||||||
|
|
||||||
tpl = crossplane.NewTemplate()
|
tpl = crossplane.NewTemplate()
|
||||||
tpl.SetMimeFile(mimeFile.Name())
|
tpl.SetMimeFile(mimeFile.Name())
|
||||||
|
|
Loading…
Reference in a new issue