From 2dfced01e5043a436d634a24f0bfb4c8c792cae3 Mon Sep 17 00:00:00 2001 From: Chris Baker <1675087+cgbaker@users.noreply.github.com> Date: Tue, 19 Nov 2019 14:53:34 +0000 Subject: [PATCH] the plugin launcher tool was passing the wrong byte array into SetConfig, resulting in msgpack decoding errors --- plugins/shared/cmd/launcher/command/device.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/shared/cmd/launcher/command/device.go b/plugins/shared/cmd/launcher/command/device.go index 2a89881bf..5b4d86529 100644 --- a/plugins/shared/cmd/launcher/command/device.go +++ b/plugins/shared/cmd/launcher/command/device.go @@ -209,7 +209,7 @@ func (c *Device) setConfig(spec hcldec.Spec, apiVersion string, config []byte, n } req := &base.Config{ - PluginConfig: config, + PluginConfig: cdata, AgentConfig: nmdCfg, ApiVersion: apiVersion, }