mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-09-04 12:05:35 +00:00
Report telemetry on develop and main branches (#195)
This commit is contained in:
@@ -15,6 +15,10 @@ func ReportRun(cmd string, args interface{}) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if Branch != "main" && Branch != "develop" {
|
||||||
|
Log.Debugf("not reporting telemetry on private branches")
|
||||||
|
}
|
||||||
|
|
||||||
argsBytes, _ := json.Marshal(args)
|
argsBytes, _ := json.Marshal(args)
|
||||||
argsMap := map[string]string{
|
argsMap := map[string]string{
|
||||||
"telemetry_type": "execution",
|
"telemetry_type": "execution",
|
||||||
|
Reference in New Issue
Block a user