1
0
Fork 0
mirror of https://github.com/kyverno/kyverno.git synced 2025-04-15 00:36:28 +00:00

fix: linter (#8454)

Signed-off-by: Charles-Edouard Brétéché <charles.edouard@nirmata.com>
This commit is contained in:
Charles-Edouard Brétéché 2023-09-19 13:36:29 +02:00 committed by GitHub
parent 6a43ec4bcf
commit 33dbdc9c5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0
with:
version: v1.52.2
version: v1.54.2
skip-cache: true
- name: go fmt check
run: make fmt-check

View file

@ -7,7 +7,7 @@ import (
const (
ExperimentalEnv = "KYVERNO_EXPERIMENTAL"
KubectlValidateEnv = "KYVERNO_KUBECTL_VALIDATE"
KubectlValidateEnv = "KYVERNO_KUBECTL_VALIDATE" //nolint:gosec
)
func getBool(env string) bool {