Skip to content

chore: remove unnecessary casts - #299

Closed
olepbr wants to merge 1 commit into
hubblo-org:devfrom
olepbr:remove-unnecessary-casts
Closed

chore: remove unnecessary casts#299
olepbr wants to merge 1 commit into
hubblo-org:devfrom
olepbr:remove-unnecessary-casts

Conversation

@olepbr

@olepbr olepbr commented Apr 7, 2023

Copy link
Copy Markdown
Contributor

get_cpu_usage_percentage() and sysinfo.process() both take a Pid, so the pid as _ casts are unnecessary.

get_cpu_usage_percentage() and sysinfo.process() both take a Pid, so the
"pid as _" casts are unnecessary.
@bpetit

bpetit commented Apr 19, 2026

Copy link
Copy Markdown
Contributor

Pretty old (sorry for that), and sysinfo api has changed and the way its used will change in upcoming PRs.

@bpetit bpetit closed this Apr 19, 2026
@github-project-automation github-project-automation Bot moved this from Triage to Done in General Apr 19, 2026
@bpetit bpetit moved this from Done to Previous releases in General Jul 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Previous releases

Development

Successfully merging this pull request may close these issues.

2 participants