Skip to content

Commit

Permalink
ci: lint errors (#3276)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahulguptajss authored Nov 11, 2024
1 parent dd3aead commit 3e036ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/util/portScanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func CheckFreePorts(address string, ports []int) map[int]struct{} {
}
}()

for range len(ports) {
for range ports {
port := <-results
if port != 0 {
freeports[port] = struct{}{}
Expand Down

0 comments on commit 3e036ad

Please sign in to comment.