From c1225d9befa8c3a32876527315c2af9b10734f05 Mon Sep 17 00:00:00 2001 From: Andrea Frittoli Date: Fri, 9 Sep 2022 18:41:41 +0100 Subject: [PATCH] Move nosec comments inline Signed-off-by: Andrea Frittoli --- pkg/apis/pipeline/paths.go | 3 +-- pkg/pod/creds_init.go | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/pkg/apis/pipeline/paths.go b/pkg/apis/pipeline/paths.go index 5f568b0d8d1..5522cb0741c 100644 --- a/pkg/apis/pipeline/paths.go +++ b/pkg/apis/pipeline/paths.go @@ -25,8 +25,7 @@ const ( HomeDir = "/tekton/home" // CredsDir is the directory where credentials are placed to meet the legacy credentials // helpers image (aka "creds-init") contract - // #nosec - CredsDir = "/tekton/creds" + CredsDir = "/tekton/creds" // #nosec // StepsDir is the directory used for a step to store any metadata related to the step StepsDir = "/tekton/steps" ) diff --git a/pkg/pod/creds_init.go b/pkg/pod/creds_init.go index 393210c09ef..00eaa96d4d7 100644 --- a/pkg/pod/creds_init.go +++ b/pkg/pod/creds_init.go @@ -33,8 +33,7 @@ import ( ) const ( - // #nosec - credsInitHomeMountPrefix = "tekton-creds-init-home" + credsInitHomeMountPrefix = "tekton-creds-init-home" // #nosec sshKnownHosts = "known_hosts" )