mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: add dynamic parameter template value to telemetry (#18414)
This commit is contained in:
@ -1090,6 +1090,7 @@ func ConvertTemplate(dbTemplate database.Template) Template {
|
|||||||
AutostartAllowedDays: codersdk.BitmapToWeekdays(dbTemplate.AutostartAllowedDays()),
|
AutostartAllowedDays: codersdk.BitmapToWeekdays(dbTemplate.AutostartAllowedDays()),
|
||||||
RequireActiveVersion: dbTemplate.RequireActiveVersion,
|
RequireActiveVersion: dbTemplate.RequireActiveVersion,
|
||||||
Deprecated: dbTemplate.Deprecated != "",
|
Deprecated: dbTemplate.Deprecated != "",
|
||||||
|
UseClassicParameterFlow: dbTemplate.UseClassicParameterFlow,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1396,6 +1397,7 @@ type Template struct {
|
|||||||
AutostartAllowedDays []string `json:"autostart_allowed_days"`
|
AutostartAllowedDays []string `json:"autostart_allowed_days"`
|
||||||
RequireActiveVersion bool `json:"require_active_version"`
|
RequireActiveVersion bool `json:"require_active_version"`
|
||||||
Deprecated bool `json:"deprecated"`
|
Deprecated bool `json:"deprecated"`
|
||||||
|
UseClassicParameterFlow bool `json:"use_classic_parameter_flow"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TemplateVersion struct {
|
type TemplateVersion struct {
|
||||||
|
Reference in New Issue
Block a user