Unverified Commit 132ae0bf authored by jasperd's avatar jasperd
Browse files

Fix updates of unchanged records for Azure Private DNS

parent f400ded4
Showing with 1 addition and 1 deletion
+1 -1
......@@ -105,7 +105,7 @@ func (p *AzurePrivateDNSProvider) Records(ctx context.Context) (endpoints []*end
log.Debugf("Skipping invalid record set with missing type.")
return
}
recordType = strings.TrimPrefix(*recordSet.Type, "Microsoft.Network/privateDnsZones")
recordType = strings.TrimPrefix(*recordSet.Type, "Microsoft.Network/privateDnsZones/")
var name string
if recordSet.Name == nil {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment