Skip to content

Commit

Permalink
Update workspace.go
Browse files Browse the repository at this point in the history
Co-authored-by: Nick Fagerlund <[email protected]>
  • Loading branch information
SwiftEngineer and nfagerlund authored Nov 2, 2023
1 parent 0b4d42a commit db156fd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions workspace.go
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ type VCSRepo struct {
WebhookURL string `jsonapi:"attr,webhook-url"`
}

// Note: the fields of this struct are bool pointers instead of bool values, in order to simplify support for
// future TFE versions that support *some but not all* of the inherited defaults that go-tfe knows about.
type WorkspaceSettingOverwrites struct {
ExecutionMode *bool `jsonapi:"attr,execution-mode"`
AgentPool *bool `jsonapi:"attr,agent-pool"`
Expand Down

0 comments on commit db156fd

Please sign in to comment.