Skip to content

Commit

Permalink
rename shadowed var (interface)
Browse files Browse the repository at this point in the history
  • Loading branch information
malud committed Apr 8, 2024
1 parent 43081d0 commit 0eba9f9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/writer/response.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (r *Response) applyHeaderModifiers(afterModifierAttributes bool) {
} else {
headerModifiers = r.headerModifiersBefore
}
for _, modifier := range headerModifiers {
modifier(r.Header())
for _, modifierFn := range headerModifiers {
modifierFn(r.Header())
}
}

0 comments on commit 0eba9f9

Please sign in to comment.