Skip to content

Commit

Permalink
Merge pull request #555 from hashicorp/gs/remove-run-task-beta
Browse files Browse the repository at this point in the history
Remove Run Task beta notes
  • Loading branch information
glennsarti committed Oct 25, 2022
2 parents cdcd0b6 + 96942b9 commit 6f68d40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions workspace_run_task.go
Expand Up @@ -60,15 +60,15 @@ type WorkspaceRunTaskCreateOptions struct {
EnforcementLevel TaskEnforcementLevel `jsonapi:"attr,enforcement-level"`
// Required: The run task to attach to the workspace
RunTask *RunTask `jsonapi:"relation,task"`
// Optional: The stage to run the task in. This is currently in BETA
// Optional: The stage to run the task in
Stage *Stage `jsonapi:"attr,stage,omitempty"`
}

// WorkspaceRunTaskUpdateOptions represent the set of options for updating a workspace run task.
type WorkspaceRunTaskUpdateOptions struct {
Type string `jsonapi:"primary,workspace-tasks"`
EnforcementLevel TaskEnforcementLevel `jsonapi:"attr,enforcement-level,omitempty"`
Stage *Stage `jsonapi:"attr,stage,omitempty"` // The stage to run the task in. This is currently in BETA
Stage *Stage `jsonapi:"attr,stage,omitempty"` // The stage to run the task in
}

// List all run tasks attached to a workspace
Expand Down

0 comments on commit 6f68d40

Please sign in to comment.