Commit 1ab8b37e authored by insomniac's avatar insomniac Committed by Yong Tang

Make CoreDNS build on Go 1.7 (#919)

parent 00f5c779
...@@ -7,6 +7,7 @@ services: ...@@ -7,6 +7,7 @@ services:
language: go language: go
go: go:
- 1.7
- 1.8 - 1.8
go_import_path: github.com/coredns/coredns go_import_path: github.com/coredns/coredns
......
...@@ -72,5 +72,5 @@ func (p *apiProxy) Run() { ...@@ -72,5 +72,5 @@ func (p *apiProxy) Run() {
func (p *apiProxy) Stop() { func (p *apiProxy) Stop() {
p.handler.Stop() p.handler.Stop()
p.Close() p.listener.Close()
} }
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