File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ type NginxProxySpec struct {
36
36
// Default is false, meaning http2 will be enabled for all servers.
37
37
//
38
38
// +optional
39
- DisableHTTP2 bool `json:"disableHTTP2"`
39
+ DisableHTTP2 bool `json:"disableHTTP2,omitempty "`
40
40
}
41
41
42
42
// Telemetry specifies the OpenTelemetry configuration.
Original file line number Diff line number Diff line change 1
1
package config
2
2
3
3
const baseHTTPTemplateText = `
4
- {{- if .HTTP2 }}http2 on;{{- end }}
4
+ {{- if .HTTP2 }}http2 on;{{ end }}
5
5
`
Original file line number Diff line number Diff line change @@ -282,8 +282,8 @@ type SpanAttribute struct {
282
282
Value string
283
283
}
284
284
285
- // BaseHTTPConfig holds the configuration options at the http context
285
+ // BaseHTTPConfig holds the configuration options at the http context.
286
286
type BaseHTTPConfig struct {
287
- // HTTP2 specifies whether http2 should be enabled or disabled for all servers
287
+ // HTTP2 specifies whether http2 should be enabled or disabled for all servers.
288
288
HTTP2 bool
289
289
}
You can’t perform that action at this time.
0 commit comments