forked from TrueCloudLab/certificates
Merge pull request #644 from hslatman/hs/fix-provisioner-name-log
Fix logging provisioner name as string
This commit is contained in:
commit
76413b845e
1 changed files with 1 additions and 1 deletions
|
@ -418,7 +418,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"] = val.Name
|
||||
m["provisioner"] = string(val.Name)
|
||||
}
|
||||
break
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue