Skip to content

Commit

Permalink
Add: rename directive to set_body(2)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienPensart committed Dec 8, 2024
1 parent 9aeba18 commit fb24b69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/caddyhttp/requestbody/caddyfile.go
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ func parseCaddyfile(h httpcaddyfile.Helper) (caddyhttp.MiddlewareHandler, error)
}
rb.Set = setStr
default:
return nil, h.Errf("unrecognized set_body subdirective '%s'", h.Val())
return nil, h.Errf("unrecognized request_body subdirective '%s'", h.Val())
}
}

Expand Down

0 comments on commit fb24b69

Please sign in to comment.