Skip to content

Commit

Permalink
Merge pull request #1104 from ziyeqf/next_page_empty_string
Browse files Browse the repository at this point in the history
supress empty string nextlink url
  • Loading branch information
jackofallops authored Jan 7, 2025
2 parents 0dcdae3 + a8eb029 commit 62208b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ func (c *Client) ExecutePaged(ctx context.Context, req *Request) (*Response, err
return resp, err
}
}
if nextLink == nil {
if nextLink == nil || string(*nextLink) == "" {
// This is the last page
return resp, nil
}
Expand Down

0 comments on commit 62208b6

Please sign in to comment.