Skip to content
Snippets Groups Projects
Commit 0bd1ed2e authored by Malte Bauch's avatar Malte Bauch
Browse files

Remove unnecessary args in plugin cmd

parent d784b1ea
No related branches found
No related tags found
No related merge requests found
Pipeline #161265 failed
...@@ -31,7 +31,7 @@ func NewPlugin(id uuid.UUID, execPath string) (*Plugin, error) { ...@@ -31,7 +31,7 @@ func NewPlugin(id uuid.UUID, execPath string) (*Plugin, error) {
client := hcplugin.NewClient(&hcplugin.ClientConfig{ client := hcplugin.NewClient(&hcplugin.ClientConfig{
HandshakeConfig: shared.Handshake, HandshakeConfig: shared.Handshake,
Plugins: shared.PluginMap, Plugins: shared.PluginMap,
Cmd: exec.Command("sh", "-c", filepath.Join(execPath, util.PluginExecutableName)), Cmd: exec.Command(filepath.Join(execPath, util.PluginExecutableName)),
AllowedProtocols: []hcplugin.Protocol{hcplugin.ProtocolGRPC}, AllowedProtocols: []hcplugin.Protocol{hcplugin.ProtocolGRPC},
}) })
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment