check_ssl_certificate - Fixed map loop syntax

This commit is contained in:
Emmanuel BENOîT 2021-02-19 17:39:08 +01:00
parent 08e8ff920a
commit 8f566fa955

View file

@ -132,7 +132,7 @@ var certGetters map[string]certGetter = map[string]certGetter{
// Get a string that represents supported StartTLS protocols
func listSupportedGetters() string {
sb := strings.Builder{}
for key, _ := range certGetters {
for key := range certGetters {
if sb.Len() != 0 {
sb.WriteString(", ")
}