mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2026-06-12 05:13:39 +03:00
[vmalert] improve external url handling
This commit is contained in:
@@ -452,3 +452,8 @@ func isTrivialNetworkError(err error) bool {
|
||||
}
|
||||
return false
|
||||
}
|
||||
|
||||
// IsTLS indicates is tls enabled or not
|
||||
func IsTLS() bool {
|
||||
return *tlsEnable
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user