mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 09:38:09 +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 ...
|
||||
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 ...
|
||||
|
Loading…
Reference in New Issue
Block a user