chore: add dynamic parameter template value to telemetry (#18414)

This commit is contained in:
Steven Masley
2025-06-17 13:28:56 -05:00
committed by GitHub
parent 82c14e00ce
commit 1672eeb0eb

View File

@ -1090,6 +1090,7 @@ func ConvertTemplate(dbTemplate database.Template) Template {
AutostartAllowedDays: codersdk.BitmapToWeekdays(dbTemplate.AutostartAllowedDays()),
RequireActiveVersion: dbTemplate.RequireActiveVersion,
Deprecated: dbTemplate.Deprecated != "",
UseClassicParameterFlow: dbTemplate.UseClassicParameterFlow,
}
}
@ -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 {