-
Notifications
You must be signed in to change notification settings - Fork 146
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
alertmanagerconfig: fixes email tls_config build
Previously config builder had incorrect assumption, that tlsConfig for email notifications must be build only if requireTLS is set and true. But alermanager has requireTLS as true by default and it shouldn't be set to true at configuration. Also this param could be managed via global config section. This commit removes unneeded if requireTLS is true check before building tls config for email notifications. Related issue #1080 Signed-off-by: f41gh7 <[email protected]>
- Loading branch information
Showing
3 changed files
with
49 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters