From 03bf37884d089b69fd7e05491eff658420f40c5d Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 2 Jan 2017 15:01:19 +0100 Subject: [PATCH] fix "retreive" typo in plugin store Signed-off-by: Sebastiaan van Stijn --- plugin/store.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/store.go b/plugin/store.go index 3c780ab93e..3398124277 100644 --- a/plugin/store.go +++ b/plugin/store.go @@ -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()