Skip to content

fix(inventory): correct variable type for cores and threads to unsigned int#484

Merged
artek-koltun merged 1 commit intoopiproject:mainfrom
sandersms:main
Oct 24, 2025
Merged

fix(inventory): correct variable type for cores and threads to unsigned int#484
artek-koltun merged 1 commit intoopiproject:mainfrom
sandersms:main

Conversation

@sandersms
Copy link
Contributor

The current inventory.proto defined the cpu.totalcores and cpu.totalthreads as int32. The values for these variables can not be a negative number.

Moving the values to uint32

…ed int

Signed-off-by: Mark Sanders <marksanders194@gmail.com>
@sandersms sandersms marked this pull request as ready for review October 23, 2025 15:46
@sandersms sandersms requested a review from a team as a code owner October 23, 2025 15:46
@artek-koltun artek-koltun merged commit 436ae83 into opiproject:main Oct 24, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants