alertmanager/config
Hrishikesh Barman 4e424e3cd6 config: Change DefaultGlobalConfig to a function (#1656)
The variable DefaultGlobalConfig was being used to initialize values, but it stored previous information due to which some things were persisting in the newer initialization.

In this PR, DefaultGlobalConfig is changed to a function so that it returns a fresh GlobalConfig for initialization.

Signed-off-by: Hrishikesh Barman <hrishikeshbman@gmail.com>
2019-01-15 18:03:45 +01:00
..
testdata config: Change DefaultGlobalConfig to a function (#1656) 2019-01-15 18:03:45 +01:00
config_test.go config: Change DefaultGlobalConfig to a function (#1656) 2019-01-15 18:03:45 +01:00
config.go config: Change DefaultGlobalConfig to a function (#1656) 2019-01-15 18:03:45 +01:00
notifiers_test.go Support adding custom fields to VictorOps notifications (#1420) 2019-01-15 11:59:05 +01:00
notifiers.go Support adding custom fields to VictorOps notifications (#1420) 2019-01-15 11:59:05 +01:00