mirror of
https://github.com/kubeshark/kubeshark.git
synced 2025-07-18 18:32:30 +00:00
Report telemetry on develop and main branches (#195)
This commit is contained in:
parent
cbe04af801
commit
0409eb239d
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user