diff options
author | 2016-07-04 21:13:28 +0100 | |
---|---|---|
committer | 2016-07-04 21:13:28 +0100 | |
commit | 558c34a23e7aec736580c5585e7eceeff9220667 (patch) | |
tree | f726a613c95b6415ed78bc843d1f91b54f0da824 /middleware/etcd/stub_test.go | |
parent | 181ad851bc7a1485218a28cfeb383a80bf1e6e0e (diff) | |
download | coredns-558c34a23e7aec736580c5585e7eceeff9220667.tar.gz coredns-558c34a23e7aec736580c5585e7eceeff9220667.tar.zst coredns-558c34a23e7aec736580c5585e7eceeff9220667.zip |
middleware/proxy: healthchecks fixes (#183)
* middleware/proxy: add spray keyword
When spray is used, the proxy will, when all backend are down, spray to
each target. When not used, default to the old defaults: max 1 failure
and no spray. These defaults are also used when forwarding queries to
another CoreDNS instance.
Update the README with the new keyword.
* typos
* Make MaxFail = 1 again
* more reversals
Diffstat (limited to 'middleware/etcd/stub_test.go')
-rw-r--r-- | middleware/etcd/stub_test.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/middleware/etcd/stub_test.go b/middleware/etcd/stub_test.go index 2ae813099..d36d36e87 100644 --- a/middleware/etcd/stub_test.go +++ b/middleware/etcd/stub_test.go @@ -9,6 +9,7 @@ import ( "github.com/miekg/coredns/middleware" "github.com/miekg/coredns/middleware/etcd/msg" "github.com/miekg/coredns/middleware/test" + "github.com/miekg/dns" ) |