'%s' -> %q

This commit is contained in:
6543 2022-11-12 00:20:19 +01:00
parent ae610d301a
commit 81bc8fec08
No known key found for this signature in database
GPG key ID: B8BE6D610E61C862
2 changed files with 3 additions and 3 deletions

View file

@ -28,7 +28,7 @@ func (p tmpDB) Put(name string, cert *certificate.Resource) error {
func (p tmpDB) Get(name string) (*certificate.Resource, error) {
cert, has := p.intern.Get(name)
if !has {
return nil, fmt.Errorf("cert for '%s' not found", name)
return nil, fmt.Errorf("cert for %q not found", name)
}
return cert.(*certificate.Resource), nil
}