Skip to content

Commit 9219790

Browse files
Update provider/alibabacloud/alibaba_cloud.go
Co-authored-by: Michel Loiseleur <[email protected]>
1 parent 59817b0 commit 9219790

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

provider/alibabacloud/alibaba_cloud.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ func (p *AlibabaCloudProvider) createRecord(endpoint *endpoint.Endpoint, target
501501
if len(hostedZoneDomains) == 0 {
502502
log.Errorf("Failed to create %s record named '%s' to '%s' for Alibaba Cloud DNS: zone not found",
503503
endpoint.RecordType, endpoint.DNSName, target)
504-
return fmt.Errorf("no found any zone,please add the DNS zone first")
504+
return fmt.Errorf("zone not found")
505505
}
506506

507507
rr, domain := p.splitDNSName(endpoint.DNSName, hostedZoneDomains)

0 commit comments

Comments
 (0)