Skip to content

Commit 1672eeb

Browse files
authored
chore: add dynamic parameter template value to telemetry (#18414)
1 parent 82c14e0 commit 1672eeb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coderd/telemetry/telemetry.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1090,6 +1090,7 @@ func ConvertTemplate(dbTemplate database.Template) Template {
10901090
AutostartAllowedDays: codersdk.BitmapToWeekdays(dbTemplate.AutostartAllowedDays()),
10911091
RequireActiveVersion: dbTemplate.RequireActiveVersion,
10921092
Deprecated: dbTemplate.Deprecated != "",
1093+
UseClassicParameterFlow: dbTemplate.UseClassicParameterFlow,
10931094
}
10941095
}
10951096

@@ -1396,6 +1397,7 @@ type Template struct {
13961397
AutostartAllowedDays []string `json:"autostart_allowed_days"`
13971398
RequireActiveVersion bool `json:"require_active_version"`
13981399
Deprecated bool `json:"deprecated"`
1400+
UseClassicParameterFlow bool `json:"use_classic_parameter_flow"`
13991401
}
14001402

14011403
type TemplateVersion struct {

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