Bläddra i källkod

Merge pull request #29822 from thaJeztah/fix-minor-typo

fix "retreive" typo in plugin store
Vincent Demeester 8 år sedan
förälder
incheckning
173ce768d6
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      plugin/store.go

+ 2 - 2
plugin/store.go

@@ -36,7 +36,7 @@ func (name ErrAmbiguous) Error() string {
 	return fmt.Sprintf("multiple plugins found for %q", string(name))
 	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) {
 func (ps *Store) GetV2Plugin(refOrID string) (*v2.Plugin, error) {
 	ps.RLock()
 	ps.RLock()
 	defer ps.RUnlock()
 	defer ps.RUnlock()
@@ -64,7 +64,7 @@ func (ps *Store) validateName(name string) error {
 	return nil
 	return nil
 }
 }
 
 
-// GetAll retreives all plugins.
+// GetAll retrieves all plugins.
 func (ps *Store) GetAll() map[string]*v2.Plugin {
 func (ps *Store) GetAll() map[string]*v2.Plugin {
 	ps.RLock()
 	ps.RLock()
 	defer ps.RUnlock()
 	defer ps.RUnlock()