0
Fork 0
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:
Toby Allen 2017-07-10 21:47:48 +01:00 committed by Matt Holt
parent 4c700efbbb
commit acc67eb3b2
2 changed files with 2 additions and 2 deletions

View file

@ -443,7 +443,7 @@ var directives = []string{
// services/utilities, or other directives that don't necessarily inject handlers
"startup",
"shutdown",
"requestid",
"request_id",
"realip", // github.com/captncraig/caddy-realip
"git", // github.com/abiosoft/caddy-git

View file

@ -6,7 +6,7 @@ import (
)
func init() {
caddy.RegisterPlugin("requestid", caddy.Plugin{
caddy.RegisterPlugin("request_id", caddy.Plugin{
ServerType: "http",
Action: setup,
})