Skip to content

Commit

Permalink
Fix tag pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdaws committed Apr 11, 2023
1 parent ed45f87 commit 1e76c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion registry/docker/json.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func getNextLink(resp *http.Response) (string, error) {
return "", ErrNoMorePages
}

// getPaginatedJson accepts a string and a pointer, and returns the
// getPaginatedJSON accepts a string and a pointer, and returns the
// next page URL while updating pointed-to variable with a parsed JSON
// value. When there are no more pages it returns `ErrNoMorePages`.
func (r *Registry) getPaginatedJSON(url string, response interface{}) (string, error) {
Expand Down

0 comments on commit 1e76c36

Please sign in to comment.