Commit 64938588 authored by Yong Tang's avatar Yong Tang Committed by Miek Gieben

Use context.TODO() in tests for go vet fix (#1017)

See #997 #1000.
Signed-off-by: default avatarYong Tang <yong.tang.github@outlook.com>
parent 778fb731
......@@ -222,7 +222,7 @@ var dnsTestCases = []test.Case{
}
func newEtcdMiddleware() *Etcd {
ctxt, _ = context.WithTimeout(context.Background(), etcdTimeout)
ctxt = context.TODO()
endpoints := []string{"http://localhost:2379"}
tlsc, _ := tls.NewTLSConfigFromArgs()
......
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