Update provider/azure/azure_private_dns.go

Co-authored-by: John Gardiner Myers <jgmyers@proofpoint.com>
This commit is contained in:
Philip Laine 2023-08-15 09:05:28 +02:00 committed by GitHub
parent d42df08c17
commit 55c93e7823
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,7 @@ func NewAzurePrivateDNSProvider(configFile string, domainFilter endpoint.DomainF
}
cred, err := getCredentials(*cfg)
if err != nil {
return nil, fmt.Errorf("failed to get credentials: %v", err)
return nil, fmt.Errorf("failed to get credentials: %w", err)
}
zonesClient, err := privatedns.NewPrivateZonesClient(cfg.SubscriptionID, cred, nil)
if err != nil {