mirror of
https://github.com/caddyserver/caddy.git
synced 2024-12-23 22:27:38 -05:00
Rename directive requestid to request_id (#1757)
* rename requestid request_id * rename folder * folder name match package name requestid
This commit is contained in:
parent
4c700efbbb
commit
acc67eb3b2
2 changed files with 2 additions and 2 deletions
|
@ -443,7 +443,7 @@ var directives = []string{
|
||||||
// services/utilities, or other directives that don't necessarily inject handlers
|
// services/utilities, or other directives that don't necessarily inject handlers
|
||||||
"startup",
|
"startup",
|
||||||
"shutdown",
|
"shutdown",
|
||||||
"requestid",
|
"request_id",
|
||||||
"realip", // github.com/captncraig/caddy-realip
|
"realip", // github.com/captncraig/caddy-realip
|
||||||
"git", // github.com/abiosoft/caddy-git
|
"git", // github.com/abiosoft/caddy-git
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
caddy.RegisterPlugin("requestid", caddy.Plugin{
|
caddy.RegisterPlugin("request_id", caddy.Plugin{
|
||||||
ServerType: "http",
|
ServerType: "http",
|
||||||
Action: setup,
|
Action: setup,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue