Merge pull request #29789 from miaoyq/optimization-error-description
Optimization a error description Upstream-commit: ef9935ce8f4acf5d53db0a2f9621f9135aed442b Component: engine
This commit is contained in:
@@ -58,7 +58,7 @@ func (ps *Store) GetV2Plugin(refOrID string) (*v2.Plugin, error) {
|
||||
func (ps *Store) validateName(name string) error {
|
||||
for _, p := range ps.plugins {
|
||||
if p.Name() == name {
|
||||
return errors.Errorf("%v already exists", name)
|
||||
return errors.Errorf("plugin %q already exists", name)
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user