mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2025-11-01 19:21:00 +01:00
get healthcheckid whether set-identifier is set or not
This commit is contained in:
parent
72544c38c3
commit
625eaf4867
@ -599,10 +599,10 @@ func (p *AWSProvider) newChange(action string, ep *endpoint.Endpoint, recordsCac
|
|||||||
if useGeolocation {
|
if useGeolocation {
|
||||||
change.ResourceRecordSet.GeoLocation = geolocation
|
change.ResourceRecordSet.GeoLocation = geolocation
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if prop, ok := ep.GetProviderSpecificProperty(providerSpecificHealthCheckID); ok {
|
if prop, ok := ep.GetProviderSpecificProperty(providerSpecificHealthCheckID); ok {
|
||||||
change.ResourceRecordSet.HealthCheckId = aws.String(prop.Value)
|
change.ResourceRecordSet.HealthCheckId = aws.String(prop.Value)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return change, dualstack
|
return change, dualstack
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user