Commit 1d9bbb0b authored by Kirill Smelkov's avatar Kirill Smelkov

go/zodb: Fix thinko in NoObjectError.Error

This error type is documented (see Loader) to be always created as
*NoObjectError.

-> Fix Error receiver accordingly.
parent ea5f2687
......@@ -275,7 +275,7 @@ type NoObjectError struct {
Oid Oid
}
func (e NoObjectError) Error() string {
func (e *NoObjectError) Error() string {
return fmt.Sprintf("%s: no such object", e.Oid)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment