Skip to content

Commit

Permalink
Enables varcheck linter
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Oct 18, 2021
1 parent e22cfdb commit 8e8d173
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ linters:
- structcheck
- unconvert
# - unparam
# - varcheck
- varcheck
- vet

linters-settings:
Expand Down
2 changes: 1 addition & 1 deletion internal/service/redshift/enum.go
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 8e8d173

Please sign in to comment.