fix "retreive" typo in plugin store

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2017-01-02 15:01:19 +01:00
parent 86f962a4a8
commit 03bf37884d
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -36,7 +36,7 @@ func (name ErrAmbiguous) Error() string {
return fmt.Sprintf("multiple plugins found for %q", string(name))
}
// GetV2Plugin retreives a plugin by name, id or partial ID.
// GetV2Plugin retrieves a plugin by name, id or partial ID.
func (ps *Store) GetV2Plugin(refOrID string) (*v2.Plugin, error) {
ps.RLock()
defer ps.RUnlock()
@ -64,7 +64,7 @@ func (ps *Store) validateName(name string) error {
return nil
}
// GetAll retreives all plugins.
// GetAll retrieves all plugins.
func (ps *Store) GetAll() map[string]*v2.Plugin {
ps.RLock()
defer ps.RUnlock()