Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd60b588

Browse files
authored
fix: update/builds transition example (#15657)
1 parente550365 commitd60b588

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

‎coderd/apidoc/docs.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎coderd/apidoc/swagger.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎codersdk/workspaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ const (
9393
// CreateWorkspaceBuildRequest provides options to update the latest workspace build.
9494
typeCreateWorkspaceBuildRequeststruct {
9595
TemplateVersionID uuid.UUID`json:"template_version_id,omitempty" format:"uuid"`
96-
TransitionWorkspaceTransition`json:"transition" validate:"oneof=createstart stop delete,required"`
96+
TransitionWorkspaceTransition`json:"transition" validate:"oneof=start stop delete,required"`
9797
DryRunbool`json:"dry_run,omitempty"`
9898
ProvisionerState []byte`json:"state,omitempty"`
9999
// Orphan may be set for the Destroy transition.

‎docs/reference/api/builds.md

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎docs/reference/api/schemas.md

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp