We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2557e6b commit 8e65c55Copy full SHA for 8e65c55
pkg/dashboard/server.go
@@ -36,7 +36,7 @@ func (s Server) StartServer() (string, utils.ControlChan) {
36
os.Exit(1) // TODO: propagate error instead?
37
}
38
isDevModeWithAnalytics := os.Getenv("HD_DEV_ANALYTICS") == "true"
39
- enableAnalytics := !s.NoTracking || isDevModeWithAnalytics
+ enableAnalytics := (!s.NoTracking && s.Version != "0.0.0") || isDevModeWithAnalytics
40
data.StatusInfo = &subproc.StatusInfo{
41
CurVer: s.Version,
42
Analytics: enableAnalytics,
0 commit comments