Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentluce committed Aug 26, 2024
1 parent 9792d17 commit 9dc3310
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kontrol-service/api/analytics.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ const (
// NewAnalyticsWrapper creates a new AnalyticsWrapper
func NewAnalyticsWrapper(isDevMode bool, writeKey string) *AnalyticsWrapper {
if !isDevMode && writeKey != "" {
// This is the Segment write key for the "kontrol-service" project. It is not
// a sensitive value, but it could be extracted to an env var in the future
// to separate dev and prod traffic if desired.
client := analytics.New(writeKey)
logrus.Info("Segment analytics client initialized")
return &AnalyticsWrapper{client: &client}
Expand Down

0 comments on commit 9dc3310

Please sign in to comment.