Skip to content

Commit

Permalink
Update GolangCI-lint to v1.60.3 (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebrandon1 authored Aug 26, 2024
1 parent 2d8640d commit d6a714a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ linters:
- dogsled
- errcheck
- exhaustive
- exportloopref
- copyloopvar
- funlen
- goconst
- gocritic
Expand Down Expand Up @@ -89,7 +89,7 @@ linters:
# - nestif
# - noctx
# - prealloc
# - exportloopref
# - copyloopvar
# - structcheck
# - testpackage
# - wsl
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ else
endif

# Variables
GOLANGCI_VERSION=v1.60.1
GOLANGCI_VERSION=v1.60.3

vet:
go vet ${GO_PACKAGES}
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ func WaitDaemonsetReady(namespace, name string, timeout time.Duration) error {
return fmt.Errorf("failed to get node list, err:%s", err)
}

//nolint:gosec
nodesCount := int32(len(nodes.Items))
isReady := false
for start := time.Now(); !isReady && time.Since(start) < timeout; {
Expand Down

0 comments on commit d6a714a

Please sign in to comment.