mirror of
https://github.com/TwiN/gatus.git
synced 2025-02-22 13:11:23 +01:00
Update comment for testing purposes
This commit is contained in:
parent
2074697efa
commit
a4c429a0e0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user