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

Commit4b95a19

Browse files
committed
fix test
1 parentf5cff15 commit4b95a19

File tree

2 files changed

+3
-12
lines changed

2 files changed

+3
-12
lines changed

‎cli/templateedit.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,9 @@ func (r *RootCmd) templateEdit() *clibase.Cmd {
7373
allowUserAutostop:allowUserAutostop,
7474
requireActiveVersion:requireActiveVersion,
7575
})
76+
iferr!=nil {
77+
returnerr
78+
}
7679

7780
req:=updateTemplateMetaRequest(updateTemplateMetaArgs{
7881
client:client,

‎cli/templatepush.go

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -526,18 +526,6 @@ func (r *RootCmd) templatePush() *clibase.Cmd {
526526
Hidden:true,
527527
Value:clibase.Int64Of(&autostopRequirementWeeks),
528528
},
529-
{
530-
Flag:"dormancy-threshold",
531-
Description:"Specify a duration workspaces may be inactive prior to being moved to the dormant state. This licensed feature's default is 0h (off). Maps to\"Dormancy threshold\" in the UI.",
532-
Default:"0h",
533-
Value:clibase.DurationOf(&dormancyThreshold),
534-
},
535-
{
536-
Flag:"dormancy-auto-deletion",
537-
Description:"Specify a duration workspaces may be in the dormant state prior to being deleted. This licensed feature's default is 0h (off). Maps to\"Dormancy Auto-Deletion\" in the UI.",
538-
Default:"0h",
539-
Value:clibase.DurationOf(&dormancyAutoDeletion),
540-
},
541529
{
542530
Flag:"allow-user-cancel-workspace-jobs",
543531
Description:"Allow users to cancel in-progress workspace jobs.",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp