mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-05 06:36:11 +02:00
fix custom hostname mock test stubs
This commit is contained in:
parent
27a5f6e49c
commit
4e624d53cc
@ -272,12 +272,12 @@ func (m *mockCloudFlareClient) UserDetails(ctx context.Context) (cloudflare.User
|
||||
}
|
||||
|
||||
func (m *mockCloudFlareClient) CustomHostnames(ctx context.Context, zoneID string, page int, filter cloudflare.CustomHostname) ([]cloudflare.CustomHostname, cloudflare.ResultInfo, error) {
|
||||
return ExampleCustomHostnames,
|
||||
return []cloudflare.CustomHostname{},
|
||||
cloudflare.ResultInfo{
|
||||
Page: 1,
|
||||
PerPage: 100,
|
||||
Count: len(ExampleCustomHostnames),
|
||||
Total: len(ExampleCustomHostnames),
|
||||
Count: 0,
|
||||
Total: 0,
|
||||
TotalPages: 1,
|
||||
}, nil
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user