Skip to content

Commit

Permalink
feat: Tolerate collector failures
Browse files Browse the repository at this point in the history
Signed-off-by: Jan-Otto Kröpke <[email protected]>
  • Loading branch information
jkroepke committed Nov 25, 2024
1 parent d73f8bd commit dd61f8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion internal/collector/smtp/smtp.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ type Config struct {
ServerExclude *regexp.Regexp `yaml:"server_exclude"`
}

//nolint:gochecknoglobals = Config{
//nolint:gochecknoglobals
var ConfigDefaults = Config{
ServerInclude: types.RegExpAny,
ServerExclude: types.RegExpEmpty,
}
Expand Down

0 comments on commit dd61f8f

Please sign in to comment.