mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 07:37:38 +01:00
update immutable tag error message format
Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
parent
407417ce7b
commit
c6fecf75d8
@ -12,7 +12,7 @@ type ErrImmutable struct {
|
|||||||
|
|
||||||
// Error ...
|
// Error ...
|
||||||
func (ei ErrImmutable) Error() string {
|
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 ...
|
// NewErrImmutable ...
|
||||||
|
Loading…
Reference in New Issue
Block a user