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 26, 2024
1 parent d5127c6 commit 5058cb0
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 5058cb0

Please sign in to comment.