Refactor to use builtin plugins from an external repo

This commit is contained in:
Brian Kassouf
2017-04-05 16:20:31 -07:00
parent 8f88452fc0
commit 8a2e29c607
20 changed files with 110 additions and 2380 deletions

View File

@@ -4,7 +4,7 @@ import (
"fmt"
"strings"
"github.com/hashicorp/vault/helper/pluginutil"
"github.com/hashicorp/vault/helper/builtinplugins"
"github.com/hashicorp/vault/meta"
)
@@ -29,7 +29,7 @@ func (c *PluginExec) Run(args []string) int {
pluginName := args[0]
runner, ok := pluginutil.BuiltinPlugins[pluginName]
runner, ok := builtinplugins.BuiltinPlugins[pluginName]
if !ok {
c.Ui.Error(fmt.Sprintf(
"No plugin with the name %s found", pluginName))