forked from TrueCloudLab/distribution
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:
parent
4f87c80073
commit
6a8e2ca84f
4 changed files with 7 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue