Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2020-01-14 10:56:09 +01:00
parent 0090269744
commit cf478b0aed
2 changed files with 5 additions and 2 deletions

View File

@@ -23,6 +23,7 @@ package xds
import (
"errors"
"fmt"
"time"
"github.com/coredns/coredns/plugin/traffic/xds/bootstrap"
@@ -79,7 +80,7 @@ func New(opts Options) (*Client, error) {
c := &Client{
opts: opts,
cc: cc,
v2c: newV2Client(cc, opts.Config.NodeProto, nil), // todo re-add backoff (exponential)
v2c: newV2Client(cc, opts.Config.NodeProto, func(int) time.Duration { return 0 }),
}
return c, nil
}