check_ssl_certificate - Fixed map loop syntax
This commit is contained in:
parent
08e8ff920a
commit
8f566fa955
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ var certGetters map[string]certGetter = map[string]certGetter{
|
||||||
// Get a string that represents supported StartTLS protocols
|
// Get a string that represents supported StartTLS protocols
|
||||||
func listSupportedGetters() string {
|
func listSupportedGetters() string {
|
||||||
sb := strings.Builder{}
|
sb := strings.Builder{}
|
||||||
for key, _ := range certGetters {
|
for key := range certGetters {
|
||||||
if sb.Len() != 0 {
|
if sb.Len() != 0 {
|
||||||
sb.WriteString(", ")
|
sb.WriteString(", ")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue