mirror of
https://github.com/coredns/coredns.git
synced 2025-10-28 00:34:24 -04:00
Issue-6671: Fixed the order of plugins. (#6729)
* Issue-6671: Fixed the order of plugins. Signed-off-by: osho-20 <yashjainiiita@gmail.com> * Issue-6671: corrected test cases. Signed-off-by: osho-20 <yashjainiiita@gmail.com> * Issue-6671: fixed CoreDNSServerPorts Signed-off-by: osho-20 <yashjainiiita@gmail.com> * Issue-6671: removed unnecessary change. Signed-off-by: osho-20 <yashjainiiita@gmail.com> * Issue-6671: added extra check for error. Signed-off-by: osho-20 <yashjainiiita@gmail.com> --------- Signed-off-by: osho-20 <yashjainiiita@gmail.com>
This commit is contained in:
@@ -17,7 +17,7 @@ func (tp testPlugin) ServeDNS(ctx context.Context, w dns.ResponseWriter, r *dns.
|
||||
return 0, nil
|
||||
}
|
||||
|
||||
func (tp testPlugin) Name() string { return "testplugin" }
|
||||
func (tp testPlugin) Name() string { return "local" }
|
||||
|
||||
func testConfig(transport string, p plugin.Handler) *Config {
|
||||
c := &Config{
|
||||
|
||||
Reference in New Issue
Block a user