mirror of
https://github.com/vxcontrol/external-dns.git
synced 2026-07-19 18:23:33 -04:00
Limit amount of records for infoblox healthcheck
This commit is contained in:
committed by
Sheng Yang
parent
bb9f5945bb
commit
3ccfbc3fd1
@@ -116,7 +116,11 @@ func (*InfobloxProvider) GetName() string {
|
||||
}
|
||||
|
||||
func (d *InfobloxProvider) HealthCheck() error {
|
||||
_, err := d.client.RecordHost().All(nil)
|
||||
maxResults := 1
|
||||
opts := &api.Options{
|
||||
MaxResults: &maxResults,
|
||||
}
|
||||
_, err := d.client.RecordHost().All(opts)
|
||||
return err
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user