diff options
author | 2020-03-13 14:23:10 +0100 | |
---|---|---|
committer | 2020-03-13 14:23:10 +0100 | |
commit | c52a51fac82e7e0bfc36357997209c78be74d8d5 (patch) | |
tree | d9284ae17d894efc1d963728c33b3859d7ae4d10 /go.mod | |
parent | 68ddba05da4743523cb5ee26838b14af601996d8 (diff) | |
download | coredns-c52a51fac82e7e0bfc36357997209c78be74d8d5.tar.gz coredns-c52a51fac82e7e0bfc36357997209c78be74d8d5.tar.zst coredns-c52a51fac82e7e0bfc36357997209c78be74d8d5.zip |
parse.HostPortorFile: return error when 0 found (#3742)
* parse.HostPortorFile: return error when 0 found
Return an error when we haven't found any nameservers. This is the
alternative considered in #3735. It's also slighly less code to be
changing.
Replaces: #3741
Closes: #3741 #3735
Signed-off-by: Miek Gieben <miek@miek.nl>
* Add extra test case here as well
Signed-off-by: Miek Gieben <miek@miek.nl>
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions