mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 07:37:38 +01:00
Merge pull request #9837 from wy65701436/fix-immu-error-msg
update immutable tag error message format
This commit is contained in:
commit
bc5ec647b0
@ -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