Skip to content

Commit a17cfb1

Browse files
authored
Merge pull request #815 from hashicorp/brandonc/remove_unused_agent-pool-id_field
Remove unused agent-pool-id field from Workspace model
2 parents 888e188 + 4c70947 commit a17cfb1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# UNRELEASED
2-
<!-- Add CHANGELOG entry to this section for any PR awaiting the next release -->
3-
<!-- Please also include if this is a Bug Fix, Enhancement, or Feature -->
2+
3+
## Bug Fixes
4+
* Removed unused field `AgentPoolID` from the Workspace model. (Callers should be using the `AgentPool` relation instead) by @brandonc [#815](https://github.com/hashicorp/go-tfe/pull/815)
45

56
# v1.39.2
67

workspace.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,6 @@ type WorkspaceList struct {
118118
type Workspace struct {
119119
ID string `jsonapi:"primary,workspaces"`
120120
Actions *WorkspaceActions `jsonapi:"attr,actions"`
121-
AgentPoolID string `jsonapi:"attr,agent-pool-id"`
122121
AllowDestroyPlan bool `jsonapi:"attr,allow-destroy-plan"`
123122
AssessmentsEnabled bool `jsonapi:"attr,assessments-enabled"`
124123
AutoApply bool `jsonapi:"attr,auto-apply"`

0 commit comments

Comments
 (0)