mirror of
https://github.com/coredns/coredns.git
synced 2025-11-02 02:03:13 -05:00
Add more options to the plugin
Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
@@ -54,7 +54,7 @@ type Client struct {
|
||||
|
||||
// New returns a new client that's dialed to addr using node as the local identifier.
|
||||
func New(addr, node string) (*Client, error) {
|
||||
// todo credentials
|
||||
// todo credentials!
|
||||
opts := []grpc.DialOption{grpc.WithInsecure()}
|
||||
cc, err := grpc.Dial(addr, opts...)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user