Skip to content

Commit

Permalink
Set Go version to 1.21
Browse files Browse the repository at this point in the history
Signed-off-by: glebkin <gleb.kogtev@gmail.com>
  • Loading branch information
glebkin committed Jul 24, 2024
1 parent 842fea2 commit c2e115a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ func parsefanoutStanza(c *caddyfile.Dispenser) (*Fanout, error) {
f.serverCount = len(toHosts)
}
if len(f.loadFactor) == 0 {
for range len(toHosts) {
for i := 0; i < len(toHosts); i++ {
f.loadFactor = append(f.loadFactor, maxLoadFactor)
}
}
Expand Down

0 comments on commit c2e115a

Please sign in to comment.