Add nolint comment to defaults.Backend in Configuration
Signed-off-by: z1cheng <imchench@gmail.com>
This commit is contained in:
parent
78a7dedbad
commit
d53b6fd543
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ const (
|
||||||
|
|
||||||
// Configuration represents the content of nginx.conf file
|
// Configuration represents the content of nginx.conf file
|
||||||
type Configuration struct {
|
type Configuration struct {
|
||||||
defaults.Backend
|
defaults.Backend `json:",squash"` //nolint:staticcheck
|
||||||
|
|
||||||
// AllowSnippetAnnotations enable users to add their own snippets via ingress annotation.
|
// AllowSnippetAnnotations enable users to add their own snippets via ingress annotation.
|
||||||
// If disabled, only snippets added via ConfigMap are added to ingress.
|
// If disabled, only snippets added via ConfigMap are added to ingress.
|
||||||
|
|
Loading…
Reference in a new issue