Skip to content
Merged
Prev Previous commit
Next Next commit
update comment
  • Loading branch information
hugodutka committed Jan 29, 2025
commit ab98f7fa89319bd2131c6cd587d1ca1544c89048
9 changes: 4 additions & 5 deletions coderd/telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,11 +298,10 @@ type idpOrgSyncConfig struct {
Field string `json:"field"`
}

// checkIDPOrgSync checks if IDP org sync is configured by checking the runtime
// config. It's based on the OrganizationSyncEnabled function from
// enterprise/coderd/enidpsync/organizations.go. It has one distinct difference:
// it doesn't check if the license entitles to the feature, it only checks if the
// feature is configured.
// checkIDPOrgSync inspects the server flags and the runtime config. It's based on
// the OrganizationSyncEnabled function from enterprise/coderd/enidpsync/organizations.go.
// It has one distinct difference: it doesn't check if the license entitles to the
// feature, it only checks if the feature is configured.
//
// The above function is not used because it's very hard to make it available in
// the telemetry package due to coder/coder package structure and initialization
Expand Down
Loading