Merge pull request #9837 from wy65701436/fix-immu-error-msg

update immutable tag error message format
This commit is contained in:
Wang Yan 2019-11-12 18:43:45 +08:00 committed by GitHub
commit bc5ec647b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ type ErrImmutable struct {
// Error ...
func (ei ErrImmutable) Error() string {
return fmt.Sprintf("Failed to process request, due to '%s:%s' is a immutable tag.", ei.repo, ei.tag)
return fmt.Sprintf("Failed to process request due to '%s:%s' configured as immutable.", ei.repo, ei.tag)
}
// NewErrImmutable ...