Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn authored on 2017/01/02 23:01:19... | ... |
@@ -36,7 +36,7 @@ func (name ErrAmbiguous) Error() string { |
36 | 36 |
return fmt.Sprintf("multiple plugins found for %q", string(name)) |
37 | 37 |
} |
38 | 38 |
|
39 |
-// GetV2Plugin retreives a plugin by name, id or partial ID. |
|
39 |
+// GetV2Plugin retrieves a plugin by name, id or partial ID. |
|
40 | 40 |
func (ps *Store) GetV2Plugin(refOrID string) (*v2.Plugin, error) { |
41 | 41 |
ps.RLock() |
42 | 42 |
defer ps.RUnlock() |
... | ... |
@@ -64,7 +64,7 @@ func (ps *Store) validateName(name string) error { |
64 | 64 |
return nil |
65 | 65 |
} |
66 | 66 |
|
67 |
-// GetAll retreives all plugins. |
|
67 |
+// GetAll retrieves all plugins. |
|
68 | 68 |
func (ps *Store) GetAll() map[string]*v2.Plugin { |
69 | 69 |
ps.RLock() |
70 | 70 |
defer ps.RUnlock() |