From 4e1aade2feeb2b9c8b40426b39296d2ae9aa0b99 Mon Sep 17 00:00:00 2001 From: Anton Lindqvist Date: Sat, 8 Dec 2018 11:00:59 +0100 Subject: pkg/report: pass the target to each OS report constructor In order to use the already defined kernel name in sys/targets to reduce duplications. --- pkg/report/linux_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/report/linux_test.go') diff --git a/pkg/report/linux_test.go b/pkg/report/linux_test.go index 83b631f55..ff083bb54 100644 --- a/pkg/report/linux_test.go +++ b/pkg/report/linux_test.go @@ -13,7 +13,8 @@ import ( func TestLinuxIgnores(t *testing.T) { cfg := &mgrconfig.Config{ - TargetOS: "linux", + TargetOS: "linux", + TargetArch: "amd64", } reporter, err := NewReporter(cfg) if err != nil { -- cgit mrf-deployment