Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #155 from ganeshmaharaj/go-linter-change
Browse files Browse the repository at this point in the history
lint: Switch golang linter to golangci-lint
  • Loading branch information
Julio Montes authored Mar 25, 2019
2 parents d4aa0b2 + 10c6d5a commit e2b4377
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions proxy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ func client(proxyAddr, file string) error {
var result []byte
for {
if expected >= 1024 {
result = make([]byte, 1024, 1024)
result = make([]byte, 1024)
} else if expected > 0 {
result = make([]byte, expected, expected)
result = make([]byte, expected)
} else {
break
}
Expand Down

0 comments on commit e2b4377

Please sign in to comment.