From 0cc2b295fdcd7aa982136da30f539c8282ea9f87 Mon Sep 17 00:00:00 2001 From: Nick Ethier Date: Mon, 5 Apr 2021 12:35:34 -0400 Subject: [PATCH] ar: stringify CNI result debug message --- client/allocrunner/networking_cni.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/allocrunner/networking_cni.go b/client/allocrunner/networking_cni.go index 8739d362c..746fd85ed 100644 --- a/client/allocrunner/networking_cni.go +++ b/client/allocrunner/networking_cni.go @@ -114,7 +114,7 @@ func (c *cniNetworkConfigurator) Setup(ctx context.Context, alloc *structs.Alloc if c.logger.IsDebug() { resultJSON, _ := json.Marshal(res) - c.logger.Debug("received result from CNI", "result", resultJSON) + c.logger.Debug("received result from CNI", "result", string(resultJSON)) } netStatus := new(structs.AllocNetworkStatus)