From f0249e713aaf7767939d1c62ae9b65606f29b62e Mon Sep 17 00:00:00 2001 From: Michal Kuritka Date: Wed, 15 Jan 2025 10:36:50 +0100 Subject: [PATCH] Bump golangci-lint to latest --- .github/workflows/build.yml | 2 +- Makefile | 2 +- controllers/providers/dns/infoblox.go | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 13d5e8f580..e7cc22c07e 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -56,7 +56,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 with: - version: v1.60.3 + version: v1.63.4 args: --timeout=3m - name: golic run: | diff --git a/Makefile b/Makefile index d54b4ef118..e571e8ac7f 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,7 @@ LOG_FORMAT ?= simple LOG_LEVEL ?= debug CONTROLLER_GEN_VERSION ?= v0.16.5 GOLIC_VERSION ?= v0.7.2 -GOLANGCI_VERSION ?= v1.60.3 +GOLANGCI_VERSION ?= v1.63.4 ISTIO_VERSION ?= v1.23.3 POD_NAMESPACE ?= k8gb CLUSTER_GEO_TAG ?= eu diff --git a/controllers/providers/dns/infoblox.go b/controllers/providers/dns/infoblox.go index 05120b2956..55650304a9 100644 --- a/controllers/providers/dns/infoblox.go +++ b/controllers/providers/dns/infoblox.go @@ -227,6 +227,7 @@ func (p *InfobloxProvider) saveHeartbeatTXTRecord(objMgr *ibcl.ObjectManager, gs log.Info(). Str("HeartbeatTXTName", heartbeatTXTName). Msg("Creating split brain TXT record") + //nolint:gosec _, err = p.createTXTRecord(objMgr, heartbeatTXTName, edgeTimestamp, uint(gslb.Spec.Strategy.DNSTtlSeconds)) if err != nil { m.InfobloxIncrementHeartbeatError(gslb)