update immutable tag error message format

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
wang yan 2019-11-12 12:51:12 +08:00
parent 407417ce7b
commit c6fecf75d8

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 ...