From b471cac6bd4914201fbfd866f5d02dc184f7278d Mon Sep 17 00:00:00 2001 From: Rakshith R Date: Fri, 1 Oct 2021 10:27:38 +0530 Subject: [PATCH] e2e: add nolint:param to retryKubectlArgs Currently only kubectlCreate arg is used with retryKubectlArgs(), But it maybe used later on. Signed-off-by: Rakshith R --- e2e/utils.go | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/utils.go b/e2e/utils.go index 5359e9940..706fdbe78 100644 --- a/e2e/utils.go +++ b/e2e/utils.go @@ -1358,6 +1358,7 @@ func retryKubectlFile(namespace string, action kubectlAction, filename string, t // retryKubectlArgs takes a namespace and action telling kubectl what to do // with the passed arguments. This function retries until no error occurred, or // the timeout passed. +// nolint:unparam // retryKubectlArgs will be used with kubectlDelete arg later on. func retryKubectlArgs(namespace string, action kubectlAction, t int, args ...string) error { timeout := time.Duration(t) * time.Minute args = append([]string{string(action)}, args...)