Commit acc67eb3 authored by Toby Allen's avatar Toby Allen Committed by Matt Holt

Rename directive requestid to request_id (#1757)

* rename requestid request_id

* rename folder

* folder name match package name requestid
parent 4c700efb
...@@ -443,7 +443,7 @@ var directives = []string{ ...@@ -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 ( ...@@ -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,
}) })
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment