Update comment for testing purposes

This commit is contained in:
TwinProduction 2021-07-29 20:03:39 -04:00 committed by Chris
parent 2074697efa
commit a4c429a0e0

View File

@ -36,7 +36,7 @@ type AlertProvider struct {
func (provider *AlertProvider) IsValid() bool { func (provider *AlertProvider) IsValid() bool {
if provider.ClientConfig == nil { if provider.ClientConfig == nil {
provider.ClientConfig = client.GetDefaultConfig() provider.ClientConfig = client.GetDefaultConfig()
// XXX: remove the next 3 lines in v3.0.0 // XXX: remove the next 4 lines in v3.0.0
if provider.Insecure { if provider.Insecure {
log.Println("WARNING: alerting.*.insecure has been deprecated and will be removed in v3.0.0 in favor of alerting.*.client.insecure") log.Println("WARNING: alerting.*.insecure has been deprecated and will be removed in v3.0.0 in favor of alerting.*.client.insecure")
provider.ClientConfig.Insecure = true provider.ClientConfig.Insecure = true