e2e: deletePodWithLabel fails on unparam linter

this commit address the unparam linter error on deletePodWithLabel
function.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal 2021-10-01 09:39:47 +05:30 committed by mergify[bot]
parent a4a2dc93c1
commit 1171111a94

View File

@ -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 { func deletePodWithLabel(label, ns string, skipNotFound bool) error {
err := retryKubectlArgs( err := retryKubectlArgs(
ns, ns,