Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions coderd/telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -1090,6 +1090,7 @@ func ConvertTemplate(dbTemplate database.Template) Template {
AutostartAllowedDays: codersdk.BitmapToWeekdays(dbTemplate.AutostartAllowedDays()),
RequireActiveVersion: dbTemplate.RequireActiveVersion,
Deprecated: dbTemplate.Deprecated != "",
UseClassicParameterFlow: dbTemplate.UseClassicParameterFlow,
}
}

Expand Down Expand Up @@ -1396,6 +1397,7 @@ type Template struct {
AutostartAllowedDays []string `json:"autostart_allowed_days"`
RequireActiveVersion bool `json:"require_active_version"`
Deprecated bool `json:"deprecated"`
UseClassicParameterFlow bool `json:"use_classic_parameter_flow"`
}

type TemplateVersion struct {
Expand Down
Loading