From 4366de7157feeb4aae919b97ce0603f1352d6c2b Mon Sep 17 00:00:00 2001 From: Andrew Chan Date: Tue, 10 Sep 2019 11:33:48 -0700 Subject: [PATCH] go-lint cleanup --- pkg/controller/catalog/datacatalog/datacatalog_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/controller/catalog/datacatalog/datacatalog_test.go b/pkg/controller/catalog/datacatalog/datacatalog_test.go index d25b94165a..ea3bef477b 100644 --- a/pkg/controller/catalog/datacatalog/datacatalog_test.go +++ b/pkg/controller/catalog/datacatalog/datacatalog_test.go @@ -388,7 +388,7 @@ func TestCatalog_Put(t *testing.T) { createDatasetCalled := false mockClient.On("CreateDataset", ctx, - mock.MatchedBy(func(o *datacatalog.CreateDatasetRequest) bool { + mock.MatchedBy(func(_ *datacatalog.CreateDatasetRequest) bool { createDatasetCalled = true return true }),