Skip to content

Commit e322671

Browse files
committed
refactor: remove CLI schedule changes
1 parent 6415069 commit e322671

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
return err
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-
if workspace.IsPrebuild {
164-
return xerrors.Errorf("autostart configuration is not supported for prebuilt workspaces")
165-
}
166-
167160
var schedStr *string
168161
if inv.Args[1] != "manual" {
169162
sched, err := parseCLISchedule(inv.Args[1:]...)
@@ -212,13 +205,6 @@ func (r *RootCmd) scheduleStop() *serpent.Command {
212205
return err
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-
if workspace.IsPrebuild {
219-
return xerrors.Errorf("autostop configuration is not supported for prebuilt workspaces")
220-
}
221-
222208
var durMillis *int64
223209
if inv.Args[1] != "manual" {
224210
dur, err := parseDuration(inv.Args[1])

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy