mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-05-11 05:55:12 +00:00
AZURE_DNS: GetZones error should report subscription id (#1415)
* BIND: Bug: DefaultNS strips last char * fixup! * Report Subscription ID when Azure can't get zones
This commit is contained in:
@@ -98,7 +98,7 @@ func (a *azurednsProvider) getZones() error {
|
||||
defer cancel()
|
||||
zonesIterator, zonesErr := a.zonesClient.ListByResourceGroup(ctx, *a.resourceGroup, to.Int32Ptr(100))
|
||||
if zonesErr != nil {
|
||||
return fmt.Errorf("getZones: zonesErr: %w", zonesErr)
|
||||
return fmt.Errorf("getZones: zonesErr: SubscriptionID=%q err=%w", a.zonesClient.BaseClient.SubscriptionID, zonesErr)
|
||||
}
|
||||
|
||||
// Check getExistingZones and https://github.com/StackExchange/dnscontrol/issues/792 for the details
|
||||
|
Reference in New Issue
Block a user