Skip to content

Commit

Permalink
comments cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobbednarz authored Jan 10, 2023
1 parent ff35c3c commit 99374ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .changelog/1171.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
```release-note:enhancement
dns: Match ListDNSRecords per_page value to the API's (100)
dns: update default `per_page` attribute to 100 records
```
4 changes: 1 addition & 3 deletions dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ func (api *API) CreateDNSRecord(ctx context.Context, rc *ResourceContainer, para
}

// ListDNSRecords returns a slice of DNS records for the given zone
// identifier. If params doesn't include any pagination (ResultInfo)
// options, auto pagination is performed with the default page size
// of 100 records per request.
// identifier.
//
// API reference: https://api.cloudflare.com/#dns-records-for-a-zone-list-dns-records
func (api *API) ListDNSRecords(ctx context.Context, rc *ResourceContainer, params ListDNSRecordsParams) ([]DNSRecord, *ResultInfo, error) {
Expand Down

0 comments on commit 99374ea

Please sign in to comment.