Skip to content

Commit

Permalink
add change related to plugintype
Browse files Browse the repository at this point in the history
  • Loading branch information
blankdots committed Feb 21, 2023
1 parent bb46023 commit d461262
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions environments/docker/environment.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ import (
"github.com/hashicorp/go-multierror"
"github.com/hashicorp/go-uuid"
"github.com/hashicorp/vault/api"
"github.com/hashicorp/vault/sdk/helper/consts"
"golang.org/x/net/http2"
)

Expand Down Expand Up @@ -839,7 +838,7 @@ func (dc *Cluster) Setup() error {
// use client to mount plugin
err = client.Sys().RegisterPlugin(&api.RegisterPluginInput{
Name: registryName,
Type: consts.PluginType(dc.MountOptions.PluginType),
Type: api.PluginType(dc.MountOptions.PluginType),
Command: binName,
SHA256: sha256value,
})
Expand Down

0 comments on commit d461262

Please sign in to comment.