Mark functions that need pagination support

This commit is contained in:
Ian Gulliver
2021-09-23 04:33:55 +00:00
parent e85fbd5df9
commit 1a86bcce4d
4 changed files with 5 additions and 0 deletions

View File

@@ -12,6 +12,7 @@ type tagsResponse struct {
}
func (wc *WorkspaceClient) GetTags() ([]*Tag, error) {
// TODO: Handle pagination
path := fmt.Sprintf("workspaces/%s/tags", wc.workspace.GID)
resp := &tagsResponse{}
err := wc.client.get(path, nil, resp)