mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-06 07:06:10 +02:00
Format changes
This commit is contained in:
parent
bb80f99e17
commit
a4b753df6c
@ -382,7 +382,6 @@ func (p *AWSProvider) newChange(action string, endpoint *endpoint.Endpoint) *rou
|
||||
EvaluateTargetHealth: aws.Bool(evalTargetHealth),
|
||||
}
|
||||
} else if hostedZone := isAWSAlias(endpoint, rec); hostedZone != "" {
|
||||
//FIXME should break if err != nil
|
||||
zones, err := p.Zones()
|
||||
if err != nil {
|
||||
log.Errorf("getting zones failed: %v", err)
|
||||
|
||||
@ -835,11 +835,11 @@ func TestAWSisAWSAlias(t *testing.T) {
|
||||
ProviderSpecific: map[string]string{"alias": tc.alias},
|
||||
}
|
||||
addrs := []*endpoint.Endpoint{
|
||||
&endpoint.Endpoint{
|
||||
{
|
||||
DNSName: "foo.example.org",
|
||||
Targets: endpoint.Targets{"foobar.example.org"},
|
||||
},
|
||||
&endpoint.Endpoint{
|
||||
{
|
||||
DNSName: "bar.example.org",
|
||||
Targets: endpoint.Targets{"bar.eu-central-1.elb.amazonaws.com"},
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user