From 96942b9f77fabd40240f660c1745840885fbb91b Mon Sep 17 00:00:00 2001 From: Glenn Sarti Date: Mon, 24 Oct 2022 15:04:48 +0800 Subject: [PATCH] Remove Run Task beta notes Pre-plan and Pre-Apply Run Tasks are now generally available. This commit removes the beta notices. --- workspace_run_task.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspace_run_task.go b/workspace_run_task.go index 6fe75c7d4..41bdef1d4 100644 --- a/workspace_run_task.go +++ b/workspace_run_task.go @@ -60,7 +60,7 @@ 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"` } @@ -68,7 +68,7 @@ type WorkspaceRunTaskCreateOptions struct { 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