Rename PluginsEnvVarPluginLoader to stop stutter

This commit is contained in:
tcharding
2017-08-31 16:36:17 +10:00
parent 86f1d74a69
commit 91eaa8a308
3 changed files with 5 additions and 5 deletions

View File

@@ -137,9 +137,9 @@ func PathFromEnvVarPluginLoader(envVarName string, subdirs ...string) PluginLoad
return loader
}
// PluginsEnvVarPluginLoader returns a PluginLoader that loads plugins from one or more
// KubectlPluginsPathPluginLoader returns a PluginLoader that loads plugins from one or more
// directories specified by the KUBECTL_PLUGINS_PATH env var.
func PluginsEnvVarPluginLoader() PluginLoader {
func KubectlPluginsPathPluginLoader() PluginLoader {
return PathFromEnvVarPluginLoader("KUBECTL_PLUGINS_PATH")
}