mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: automatically stop workspaces based on failure_ttl (#7989)
This commit is contained in:
@@ -402,7 +402,7 @@ func (api *API) updateEntitlements(ctx context.Context) error {
|
||||
|
||||
if changed, enabled := featureChanged(codersdk.FeatureAdvancedTemplateScheduling); changed {
|
||||
if enabled {
|
||||
store := &enterpriseTemplateScheduleStore{}
|
||||
store := &EnterpriseTemplateScheduleStore{}
|
||||
ptr := schedule.TemplateScheduleStore(store)
|
||||
api.AGPL.TemplateScheduleStore.Store(&ptr)
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user