From 1d5c04ee1d75651a319b1e2992bdb161e39a9699 Mon Sep 17 00:00:00 2001 From: Danielle Tomlinson Date: Thu, 17 Jan 2019 19:09:27 +0100 Subject: [PATCH] pluginloader: typo: s/validePluginConfig/validatePluginConfig --- plugins/shared/loader/init.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/shared/loader/init.go b/plugins/shared/loader/init.go index 7af5c8e53..8d5a6db46 100644 --- a/plugins/shared/loader/init.go +++ b/plugins/shared/loader/init.go @@ -428,7 +428,7 @@ func (l *PluginLoader) mergePlugins(internal, external map[PluginID]*pluginInfo) func (l *PluginLoader) validatePluginConfigs() error { var mErr multierror.Error for id, info := range l.plugins { - if err := l.validePluginConfig(id, info); err != nil { + if err := l.validatePluginConfig(id, info); err != nil { wrapped := multierror.Prefix(err, fmt.Sprintf("plugin %s:", id)) multierror.Append(&mErr, wrapped) } @@ -440,7 +440,7 @@ func (l *PluginLoader) validatePluginConfigs() error { // validatePluginConfig is used to validate the plugin's configuration. If the // plugin has a config, it is parsed with the plugins config schema and // SetConfig is called to ensure the config is valid. -func (l *PluginLoader) validePluginConfig(id PluginID, info *pluginInfo) error { +func (l *PluginLoader) validatePluginConfig(id PluginID, info *pluginInfo) error { var mErr multierror.Error // Check if a config is allowed