mirror of
https://github.com/distribution/distribution.git
synced 2026-08-09 00:36:50 +00:00
Use errors.New() to output the error message and fix some typos
Signed-off-by: fate-grand-order <chenjg@harmonycloud.cn>
This commit is contained in:
@@ -77,7 +77,7 @@ func (err ErrManifestUnknownRevision) Error() string {
|
||||
type ErrManifestUnverified struct{}
|
||||
|
||||
func (ErrManifestUnverified) Error() string {
|
||||
return fmt.Sprintf("unverified manifest")
|
||||
return "unverified manifest"
|
||||
}
|
||||
|
||||
// ErrManifestVerification provides a type to collect errors encountered
|
||||
|
||||
Reference in New Issue
Block a user