Skip to content

Commit

Permalink
gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
francislavoie committed Oct 5, 2022
1 parent 4112e5a commit 75a1df6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion caddyconfig/httpcaddyfile/httptype.go
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ func (st ServerType) Setup(
// some subroutes in this directive; we add them to the pile
// for this server block
if state[namedRouteKey] != nil {
for name, _ := range state[namedRouteKey].(map[string]struct{}) {
for name := range state[namedRouteKey].(map[string]struct{}) {
result := ConfigValue{Class: namedRouteKey, Value: name}
sb.pile[result.Class] = append(sb.pile[result.Class], result)
}
Expand Down

0 comments on commit 75a1df6

Please sign in to comment.