mirror of
https://codeberg.org/Codeberg/pages-server.git
synced 2025-04-26 06:36:58 +00:00
'%s' -> %q
This commit is contained in:
parent
ae610d301a
commit
81bc8fec08
2 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue