mirror of
https://github.com/prometheus/alertmanager
synced 2025-01-04 04:52:05 +00:00
commit
769275b235
@ -329,7 +329,7 @@ func (re *Regexp) UnmarshalYAML(unmarshal func(interface{}) error) error {
|
||||
if err := unmarshal(&s); err != nil {
|
||||
return err
|
||||
}
|
||||
regex, err := regexp.Compile(s)
|
||||
regex, err := regexp.Compile("^(?:" + s + ")$")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
102
ui/bindata.go
102
ui/bindata.go
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user