This reverts commit 68f1dd5ddf
.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
This commit is contained in:
parent
68f1dd5ddf
commit
614d08cba2
42 changed files with 988 additions and 707 deletions
|
@ -4,6 +4,7 @@ import (
|
|||
"context"
|
||||
"fmt"
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"github.com/coredns/coredns/plugin/kubernetes/object"
|
||||
"github.com/coredns/coredns/plugin/pkg/dnstest"
|
||||
|
@ -524,7 +525,7 @@ func (APIConnServeTest) Run() {}
|
|||
func (APIConnServeTest) Stop() error { return nil }
|
||||
func (APIConnServeTest) EpIndexReverse(string) []*object.Endpoints { return nil }
|
||||
func (APIConnServeTest) SvcIndexReverse(string) []*object.Service { return nil }
|
||||
func (APIConnServeTest) Modified() int64 { return int64(3) }
|
||||
func (APIConnServeTest) Modified() int64 { return time.Now().Unix() }
|
||||
|
||||
func (APIConnServeTest) PodIndex(ip string) []*object.Pod {
|
||||
if ip != "10.240.0.1" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue