From 8e8d173016ec9828e2686deb6cdae1d46f4ff1b4 Mon Sep 17 00:00:00 2001 From: Graham Davison Date: Tue, 5 Oct 2021 14:45:34 -0700 Subject: [PATCH] Enables `varcheck` linter --- .golangci.yml | 2 +- internal/service/redshift/enum.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.golangci.yml b/.golangci.yml index 0d7f09530c2..a117aa721aa 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -30,7 +30,7 @@ linters: - structcheck - unconvert # - unparam - # - varcheck + - varcheck - vet linters-settings: diff --git a/internal/service/redshift/enum.go b/internal/service/redshift/enum.go index abe86ca23d9..9d2a5e24007 100644 --- a/internal/service/redshift/enum.go +++ b/internal/service/redshift/enum.go @@ -30,7 +30,7 @@ const ( clusterTypeSingleNode = "single-node" ) -//nolint:deadcode,varcheck // These constants are missing from the AWS SDK +//nolint:deadcode // These constants are missing from the AWS SDK func clusterType_Values() []string { return []string{ clusterTypeMultiNode,