mirror of
https://github.com/coredns/coredns.git
synced 2025-10-27 16:24:19 -04:00
fix hard code about server type (#759)
This commit is contained in:
@@ -125,7 +125,7 @@ func confLoader(serverType string) (caddy.Input, error) {
|
||||
}
|
||||
|
||||
if conf == "stdin" {
|
||||
return caddy.CaddyfileFromPipe(os.Stdin, "dns")
|
||||
return caddy.CaddyfileFromPipe(os.Stdin, serverType)
|
||||
}
|
||||
|
||||
contents, err := ioutil.ReadFile(conf)
|
||||
|
||||
Reference in New Issue
Block a user