Skip to content

Commit

Permalink
Update changelog with agent pool query parameter enhancement
Browse files Browse the repository at this point in the history
  • Loading branch information
JarrettSpiker committed Jul 11, 2022
1 parent b50b584 commit adbb021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
@@ -1,6 +1,7 @@
# Unreleased

* [beta] Add support for triggering Workspace runs through matching Git tags [#434](https://github.com/hashicorp/go-tfe/pull/434)
* Add `Query` param field to `AgentPoolListOptions` to allow searching based on agent pool name, by @JarrettSpiker [#417](https://github.com/hashicorp/go-tfe/pull/417)

## Bug fixes
* Fixed JSON mapping for Configuration Versions failing to properly set the `speculative` property [#459](https://github.com/hashicorp/go-tfe/pull/459)
Expand Down
1 change: 1 addition & 0 deletions agent_pool.go
Expand Up @@ -71,6 +71,7 @@ type AgentPoolListOptions struct {
// https://www.terraform.io/cloud-docs/api-docs/agents#available-related-resources
Include []AgentPoolIncludeOpt `url:"include,omitempty"`

// Optional: A search query string used to filter agent pool. Agent pools are searchable by name
Query string `url:"q,omitempty"`
}

Expand Down

0 comments on commit adbb021

Please sign in to comment.