mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-08-07 10:06:57 +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"
|
"net/url"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/Yamashou/gqlgenc/clientv2"
|
||||||
"github.com/pluralsh/gqlclient"
|
"github.com/pluralsh/gqlclient"
|
||||||
"github.com/pluralsh/gqlclient/pkg/utils"
|
"github.com/pluralsh/gqlclient/pkg/utils"
|
||||||
)
|
)
|
||||||
@ -76,7 +77,7 @@ func NewClient(conf *Config) (Client, error) {
|
|||||||
endpoint := base + "/gql"
|
endpoint := base + "/gql"
|
||||||
return &client{
|
return &client{
|
||||||
ctx: context.Background(),
|
ctx: context.Background(),
|
||||||
pluralClient: gqlclient.NewClient(&httpClient, endpoint),
|
pluralClient: gqlclient.NewClient(&httpClient, endpoint, &clientv2.Options{}),
|
||||||
config: conf,
|
config: conf,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user