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

Commite322671

Browse files
committed
refactor: remove CLI schedule changes
1 parent6415069 commite322671

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

‎cli/schedule.go‎

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -157,13 +157,6 @@ func (r *RootCmd) scheduleStart() *serpent.Command {
157157
returnerr
158158
}
159159

160-
// Autostart configuration is not supported for prebuilt workspaces.
161-
// Prebuild lifecycle is managed by the reconciliation loop, with scheduling behavior
162-
// defined per preset at the template level, not per workspace.
163-
ifworkspace.IsPrebuild {
164-
returnxerrors.Errorf("autostart configuration is not supported for prebuilt workspaces")
165-
}
166-
167160
varschedStr*string
168161
ifinv.Args[1]!="manual" {
169162
sched,err:=parseCLISchedule(inv.Args[1:]...)
@@ -212,13 +205,6 @@ func (r *RootCmd) scheduleStop() *serpent.Command {
212205
returnerr
213206
}
214207

215-
// Autostop configuration is not supported for prebuilt workspaces.
216-
// Prebuild lifecycle is managed by the reconciliation loop, with scheduling behavior
217-
// defined per preset at the template level, not per workspace.
218-
ifworkspace.IsPrebuild {
219-
returnxerrors.Errorf("autostop configuration is not supported for prebuilt workspaces")
220-
}
221-
222208
vardurMillis*int64
223209
ifinv.Args[1]!="manual" {
224210
dur,err:=parseDuration(inv.Args[1])

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp