From 9c85c322faa9946d7054e6c1b07ac694b0a1d175 Mon Sep 17 00:00:00 2001 From: Roman Prohonnyi Date: Wed, 25 Sep 2024 12:42:20 +0200 Subject: [PATCH] hotfix: json output parser (critical) --- internal/units/shell/common/parsers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/units/shell/common/parsers.go b/internal/units/shell/common/parsers.go index 81561e48..dca163c2 100644 --- a/internal/units/shell/common/parsers.go +++ b/internal/units/shell/common/parsers.go @@ -19,7 +19,7 @@ func (u *Unit) JSONOutputParser(in string, out *project.UnitLinksT) error { } outTmp := make(map[string]interface{}) - err := utils.JSONDecode([]byte(in), outTmp) + err := utils.JSONDecode([]byte(in), &outTmp) if err != nil { return err }