diff --git a/.goreleaser.yml b/.goreleaser.yml index ffc6771..f51bfde 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,7 +1,7 @@ builds: - env: - - CGO_ENABLED=0 + - CGO_ENABLED=0 binary: vault-kubernetes-kms goos: - linux diff --git a/pkg/plugin/plugin_test.go b/pkg/plugin/plugin_test.go index 3d73faa..cbb1c6a 100644 --- a/pkg/plugin/plugin_test.go +++ b/pkg/plugin/plugin_test.go @@ -35,7 +35,7 @@ func TestVaultSuite(t *testing.T) { } } -func (p *PluginSuite) SetupAllSuitr() { +func (p *PluginSuite) SetupAllSuite() { // create unix socket _, err := socket.NewSocket(socketPath) if err != nil { @@ -43,7 +43,7 @@ func (p *PluginSuite) SetupAllSuitr() { } // grpc connection with socket - conn, err := grpc.Dial( + conn, err := grpc.NewClient( socketPath, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {