alertmanager/config
Max Leonard Inden a3d96d33b2
config/test: Count `<secret>` occurrences via golang strings
`honnef.co/go/tools/cmd/staticcheck` complains with
`config/config_test.go:260:32: regular expression does not contain any
meta characters (SA6004)`. Instead of using a RegEx this patch simply
switches to using Golangs `strings.Count` function.

Signed-off-by: Max Leonard Inden <IndenML@gmail.com>
2018-08-14 11:41:45 +02:00
..
testdata config: validate URLs at config load time (#1468) 2018-08-14 10:38:49 +02:00
config.go config: validate URLs at config load time (#1468) 2018-08-14 10:38:49 +02:00
config_test.go config/test: Count `<secret>` occurrences via golang strings 2018-08-14 11:41:45 +02:00
notifiers.go config: validate URLs at config load time (#1468) 2018-08-14 10:38:49 +02:00
notifiers_test.go config: validate URLs at config load time (#1468) 2018-08-14 10:38:49 +02:00