Merge pull request #5461 from mloiseleur/fix/linter

chore(ci): fix testify linter
This commit is contained in:
Kubernetes Prow Robot 2025-05-24 11:08:36 -07:00 committed by GitHub
commit b0cc39a2ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,7 @@ import (
"github.com/cloudflare/cloudflare-go"
"github.com/stretchr/testify/assert"
"sigs.k8s.io/external-dns/endpoint"
)
@ -124,7 +125,7 @@ func Test_regionalHostname(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
p := CloudFlareProvider{RegionKey: tt.args.defaultRegionKey}
got := p.regionalHostname(tt.args.endpoint)
assert.Equal(t, got, tt.want)
assert.Equal(t, tt.want, got)
})
}
}