Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion telemetry/telemetry.go
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ func (reportMgr *ReportManager) SendReport() error {
if resp.StatusCode == 400 {
return fmt.Errorf(`"[Telemetry] HTTP Post returned statuscode %d.
This error happens because telemetry service is not yet activated.
The error can be ignored as it won't affect CNI functionality"`, resp.StatusCode)
The error can be ignored as it won't affect functionality"`, resp.StatusCode)
}

return fmt.Errorf("[Telemetry] HTTP Post returned statuscode %d", resp.StatusCode)
Expand Down
5 changes: 5 additions & 0 deletions telemetry/telemetry_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,8 @@ func (report *CNIReport) GetSystemDetails() {
func (report *CNIReport) GetOSDetails() {
report.OSDetails = &OSInfo{OSType: runtime.GOOS}
}

// Get kernel version
func (reportMgr *ReportManager) GetKernelVersion() {
// stub
}