From 62c49f35e6c8b6ce3e4aff617956ca98f7b280db Mon Sep 17 00:00:00 2001 From: Martin Baillie Date: Wed, 20 Mar 2024 20:44:27 +1100 Subject: [PATCH] Support multiplexed plugins Signed-off-by: Martin Baillie --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index ff5048f..2904fed 100644 --- a/main.go +++ b/main.go @@ -22,7 +22,7 @@ func main() { tlsConfig := apiClientMeta.GetTLSConfig() tlsProviderFunc := api.VaultPluginTLSProvider(tlsConfig) - if err := plugin.Serve(&plugin.ServeOpts{ + if err := plugin.ServeMultiplex(&plugin.ServeOpts{ BackendFactoryFunc: github.Factory, TLSProviderFunc: tlsProviderFunc, }); err != nil {