From d4612629055b02f4e04a95e4b57e0f866bd09572 Mon Sep 17 00:00:00 2001 From: Stefan Negru Date: Tue, 21 Feb 2023 08:24:44 +0200 Subject: [PATCH] add change related to plugintype related to: https://github.com/hashicorp/vault/pull/18962 --- environments/docker/environment.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/environments/docker/environment.go b/environments/docker/environment.go index 88594c9..afb61b3 100644 --- a/environments/docker/environment.go +++ b/environments/docker/environment.go @@ -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" ) @@ -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, })