Optimization a error description
Tibor Vass authored on 2017/01/04 06:01:22... | ... |
@@ -58,7 +58,7 @@ func (ps *Store) GetV2Plugin(refOrID string) (*v2.Plugin, error) { |
58 | 58 |
func (ps *Store) validateName(name string) error { |
59 | 59 |
for _, p := range ps.plugins { |
60 | 60 |
if p.Name() == name { |
61 |
- return errors.Errorf("%v already exists", name) |
|
61 |
+ return errors.Errorf("plugin %q already exists", name) |
|
62 | 62 |
} |
63 | 63 |
} |
64 | 64 |
return nil |