You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The usage of the cpu.Total function was deprecated in shirou/gopsutil#1325
Steps to reproduce
When running make lint, the this error is produced:
$ make lint
golangci-lint run
service/internal/telemetry/process_telemetry.go:162:9: SA1019: times.Total is deprecated: Total returns the total number of seconds in a CPUTimesStat Please do not use this internal function. (staticcheck)
returntimes.Total()
^
make: *** [Makefile.Common:41: lint] Error 1
What version did you use?
Version: master. Commit: 1eda0c4e4f6fbd90966359e12b226db01a845223.
The text was updated successfully, but these errors were encountered:
Describe the bug
The usage of the
cpu.Total
function was deprecated in shirou/gopsutil#1325Steps to reproduce
When running
make lint
, the this error is produced:What version did you use?
Version:
master
. Commit:1eda0c4e4f6fbd90966359e12b226db01a845223
.The text was updated successfully, but these errors were encountered: