From 0f12b6fe55f6b5ce70d8c388ec2df35db9feffbb Mon Sep 17 00:00:00 2001
From: Valentin Rothberg <vrothberg@redhat.com>
Date: Mon, 21 Mar 2022 14:49:47 +0100
Subject: linter: enable nilerr

A number of cases looked suspicious, so I marked them with `FIXME`s to
leave some breadcrumbs.

Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
---
 test/utils/matchers.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'test/utils')

diff --git a/test/utils/matchers.go b/test/utils/matchers.go
index 288779b63..85a89aa49 100644
--- a/test/utils/matchers.go
+++ b/test/utils/matchers.go
@@ -184,7 +184,7 @@ func (matcher *ValidJSONMatcher) Match(actual interface{}) (success bool, err er
 
 	var i interface{}
 	if err := json.Unmarshal([]byte(s), &i); err != nil {
-		return false, nil
+		return false, err
 	}
 	return true, nil
 }
-- 
cgit v1.2.3-54-g00ecf