[vmalert] improve external url handling

This commit is contained in:
kreedom
2020-04-01 22:29:11 +03:00
parent 12fe915b48
commit 298eb0a0f8
2 changed files with 7 additions and 3 deletions

View File

@@ -452,3 +452,8 @@ func isTrivialNetworkError(err error) bool {
}
return false
}
// IsTLS indicates is tls enabled or not
func IsTLS() bool {
return *tlsEnable
}