mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-13 09:34:38 +00:00
config/notifiers.go: Fix bad syntax for struct tag value (#1794)
This fixes the following error found by go vet: config/notifiers.go:546:2: struct field tag `yaml:"url_title,omitempty" json:"url_title,omitempty` not compatible with reflect.StructTag.Get: bad syntax for struct tag value (govet) URLTitle string `yaml:"url_title,omitempty" json:"url_title,omitempty` ^ Signed-off-by: Karsten Weiss <knweiss@gmail.com>
This commit is contained in:
parent
8688c7b9ad
commit
93671add46
@ -543,7 +543,7 @@ type PushoverConfig struct {
|
||||
Title string `yaml:"title,omitempty" json:"title,omitempty"`
|
||||
Message string `yaml:"message,omitempty" json:"message,omitempty"`
|
||||
URL string `yaml:"url,omitempty" json:"url,omitempty"`
|
||||
URLTitle string `yaml:"url_title,omitempty" json:"url_title,omitempty`
|
||||
URLTitle string `yaml:"url_title,omitempty" json:"url_title,omitempty"`
|
||||
Sound string `yaml:"sound,omitempty" json:"sound,omitempty"`
|
||||
Priority string `yaml:"priority,omitempty" json:"priority,omitempty"`
|
||||
Retry duration `yaml:"retry,omitempty" json:"retry,omitempty"`
|
||||
|
Loading…
Reference in New Issue
Block a user