From 784c3ef06d112534046d5d6f1d63f80b71c27c84 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Fri, 19 Nov 2021 10:26:41 +0530 Subject: [PATCH] e2e: remove unparam linter escapes from getStaticPV and getStaticPVC This `unparam` linter escape is no longer needed and CI is failing if we keep there. This commit remove the same and make CI happy. Signed-off-by: Humble Chirammal --- e2e/staticpvc.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/e2e/staticpvc.go b/e2e/staticpvc.go index 3bcf6d261..bcc5933af 100644 --- a/e2e/staticpvc.go +++ b/e2e/staticpvc.go @@ -22,7 +22,6 @@ const ( intreeVolPrefix = "kubernetes-dynamic-pvc-" ) -// nolint:unparam // currently name receive pvName, this can change in the future func getStaticPV( name, volName, size, secretName, secretNS, sc, driverName string, blockPV bool, @@ -70,7 +69,6 @@ func getStaticPV( return pv } -// nolint:unparam // currently name receive same name, this can change in the future func getStaticPVC(name, pvName, size, ns, sc string, blockPVC bool) *v1.PersistentVolumeClaim { pvc := &v1.PersistentVolumeClaim{ ObjectMeta: metav1.ObjectMeta{