From 2a3a913a61712695346b5512acb20bda2cdefcc4 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Mon, 9 Dec 2019 14:32:03 +0000 Subject: [PATCH] Fix lint failure 'nil' is the zero value, there's no need to specify it at init time. --- pkg/artifacts/artifact_storage_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/artifacts/artifact_storage_test.go b/pkg/artifacts/artifact_storage_test.go index 64809afd917..2b8bd006e78 100644 --- a/pkg/artifacts/artifact_storage_test.go +++ b/pkg/artifacts/artifact_storage_test.go @@ -51,7 +51,7 @@ var ( Name: "pipelineruntest", }, } - defaultStorageClass *string = nil + defaultStorageClass *string customStorageClass = "custom-storage-class" persistentVolumeClaim = GetPersistentVolumeClaim(DefaultPvcSize, defaultStorageClass) quantityComparer = cmp.Comparer(func(x, y resource.Quantity) bool {