Fix linter issue S1025

This commit is contained in:
Herman Slatman 2021-06-18 12:55:50 +02:00
parent 8780409020
commit f33bdee5e0
No known key found for this signature in database
GPG key ID: F4D8A44EA0A75A4F

View file

@ -417,7 +417,7 @@ func LogCertificate(w http.ResponseWriter, cert *x509.Certificate) {
if len(val.CredentialID) > 0 {
m["provisioner"] = fmt.Sprintf("%s (%s)", val.Name, val.CredentialID)
} else {
m["provisioner"] = fmt.Sprintf("%s", val.Name)
m["provisioner"] = string(val.Name)
}
break
}