mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-06 01:26:59 +02:00
fix code build
Signed-off-by: Raffaele Di Fazio <difazio.raffaele@gmail.com>
This commit is contained in:
parent
3cb1c81be8
commit
015497e904
@ -23,6 +23,7 @@ import (
|
||||
"net/url"
|
||||
"strings"
|
||||
|
||||
"github.com/Yamashou/gqlgenc/clientv2"
|
||||
"github.com/pluralsh/gqlclient"
|
||||
"github.com/pluralsh/gqlclient/pkg/utils"
|
||||
)
|
||||
@ -76,7 +77,7 @@ func NewClient(conf *Config) (Client, error) {
|
||||
endpoint := base + "/gql"
|
||||
return &client{
|
||||
ctx: context.Background(),
|
||||
pluralClient: gqlclient.NewClient(&httpClient, endpoint),
|
||||
pluralClient: gqlclient.NewClient(&httpClient, endpoint, &clientv2.Options{}),
|
||||
config: conf,
|
||||
}, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user