Skip to content

Commit 5e26e74

Browse files
committed
lint fix
1 parent 08beb36 commit 5e26e74

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,10 @@ gosec: tools ## Run gosec against code.
8181
lint: tools ## Run lint against code.
8282
golangci-lint run -c .golangci.yml
8383

84+
.PHONY: lint-fix
85+
lint-fix: tools ## Run lint against code.
86+
golangci-lint run -c .golangci.yml --fix
87+
8488
.PHONY: nilcheck
8589
nilcheck: tools ## Run nil check against code.
8690
go list ./... | xargs -I {} -d '\n' nilaway -include-pkgs {} -exclude-file-docstrings "ignore_autogenerated" ./...

cloud/annotations/annotations.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const (
1717
AnnLinodeHealthCheckTimeout = "service.beta.kubernetes.io/linode-loadbalancer-check-timeout"
1818
AnnLinodeHealthCheckAttempts = "service.beta.kubernetes.io/linode-loadbalancer-check-attempts"
1919
//gosec:disable G101 -- This is a false positive
20-
AnnLinodeHealthCheckPassive = "service.beta.kubernetes.io/linode-loadbalancer-check-passive"
20+
AnnLinodeHealthCheckPassive = "service.beta.kubernetes.io/linode-loadbalancer-check-passive"
2121

2222
AnnLinodeUDPCheckPort = "service.beta.kubernetes.io/linode-loadbalancer-udp-check-port"
2323

cloud/linode/cloud.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import (
2121

2222
const (
2323
// The name of this cloudprovider
24-
ProviderName = "linode"
24+
ProviderName = "linode"
2525
//gosec:disable G101 -- This is a false positive
2626
accessTokenEnv = "LINODE_API_TOKEN"
2727
regionEnv = "LINODE_REGION"

0 commit comments

Comments
 (0)