Skip to content

Commit

Permalink
improve method documentation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mdb committed Sep 16, 2020
1 parent 224645b commit 1b6b7f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions vinyldns/recordsets.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ func (c *Client) RecordSets(id string) ([]RecordSet, error) {
return recordSets, nil
}

// RecordSetsListAll retrieves the complete list of record sets with the ListFilter criteria passed.
// Handles paging through results on the user's behalf.
// RecordSetsListAll retrieves the complete list of record sets from
// the specified zone with the ListFilter criteria passed.
// It handles paging through results on the user's behalf.
func (c *Client) RecordSetsListAll(zoneID string, filter ListFilter) ([]RecordSet, error) {
if filter.MaxItems > 100 {
return nil, fmt.Errorf("MaxItems must be between 1 and 100")
Expand All @@ -117,7 +118,7 @@ func (c *Client) RecordSetsListAll(zoneID string, filter ListFilter) ([]RecordSe

// RecordSetsGlobalListAll retrieves the complete list of record sets with the
// GlobalListFilter criteria passed, across all zones.
// Handles paging through results on the user's behalf.
// It handles paging through results on the user's behalf.
func (c *Client) RecordSetsGlobalListAll(filter GlobalListFilter) ([]RecordSet, error) {
if filter.MaxItems > 100 {
return nil, fmt.Errorf("MaxItems must be between 1 and 100")
Expand Down

0 comments on commit 1b6b7f2

Please sign in to comment.