From 1171111a94a9d24e256b4ee03d68d73b868e2510 Mon Sep 17 00:00:00 2001 From: Humble Chirammal Date: Fri, 1 Oct 2021 09:39:47 +0530 Subject: [PATCH] e2e: deletePodWithLabel fails on unparam linter this commit address the unparam linter error on deletePodWithLabel function. Signed-off-by: Humble Chirammal --- e2e/pod.go | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/pod.go b/e2e/pod.go index 5307781ed..a8242bd6a 100644 --- a/e2e/pod.go +++ b/e2e/pod.go @@ -374,6 +374,7 @@ func deletePod(name, ns string, c kubernetes.Interface, t int) error { }) } +// nolint:unparam // currently skipNotFound is always false, this can change in the future func deletePodWithLabel(label, ns string, skipNotFound bool) error { err := retryKubectlArgs( ns,