mirror of
https://github.com/cert-manager/webhook-example.git
synced 2025-08-22 20:22:51 +02:00
Merge pull request #2 from AntonPates/replace-api-gcorelabs-com
replace api.gcorelabs.com with gcore.com
This commit is contained in:
commit
47e31051d8
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -201,7 +201,7 @@ func (c *gcoreDNSProviderSolver) initSDK(ch *v1alpha1.ChallengeRequest) (*dnssdk
|
||||||
}
|
}
|
||||||
apiFullUrl := cfg.ApiUrl
|
apiFullUrl := cfg.ApiUrl
|
||||||
if apiFullUrl == "" {
|
if apiFullUrl == "" {
|
||||||
apiFullUrl = "https://api.gcorelabs.com/dns"
|
apiFullUrl = "https://api.gcore.com/dns"
|
||||||
}
|
}
|
||||||
apiURL, err := url.Parse(apiFullUrl)
|
apiURL, err := url.Parse(apiFullUrl)
|
||||||
if err != nil || apiFullUrl == "" {
|
if err != nil || apiFullUrl == "" {
|
||||||
|
|
Loading…
Reference in a new issue