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 }