Skip to content

Commit

Permalink
fix "retreive" typo in plugin store
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastiaan van Stijn <[email protected]>
  • Loading branch information
thaJeztah committed Jan 2, 2017
1 parent 86f962a commit 03bf378
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugin/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 03bf378

Please sign in to comment.