Skip to content

Commit 54ab5e7

Browse files
committed
add janky comment
1 parent 5a95f96 commit 54ab5e7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

coderd/coderd.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,9 @@ type Options struct {
173173

174174
WorkspaceAppsStatsCollectorOptions workspaceapps.StatsCollectorOptions
175175

176+
// This janky function is used in telemetry to parse fields out of the raw
177+
// JWT. It needs to be passed through like this because license parsing is
178+
// under the enterprise license, and can't be imported into AGPL.
176179
ParseLicenseClaims func(rawJWT string) (email string, trial bool, err error)
177180
}
178181

0 commit comments

Comments
 (0)