From dd653bd17b1c9617887cab62594e0d7481bb7d76 Mon Sep 17 00:00:00 2001 From: Jesse Jordan Date: Tue, 1 Feb 2022 16:50:56 +0100 Subject: [PATCH] fix(lint): update linting in metrics-test --- cmd/meroxa/global/metrics_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/meroxa/global/metrics_test.go b/cmd/meroxa/global/metrics_test.go index ac7c02030..a01fb7fd0 100644 --- a/cmd/meroxa/global/metrics_test.go +++ b/cmd/meroxa/global/metrics_test.go @@ -93,7 +93,7 @@ func TestAddError(t *testing.T) { } err := "unexpected error" - addError(event, fmt.Errorf(err)) + addError(event, fmt.Errorf("%s", err)) if v, ok := event["error"]; !ok || v != err { if !ok {