Project-HAMi / HAMi

Heterogeneous AI Computing Virtualization Middleware
http://project-hami.io/
Apache License 2.0
957 stars 197 forks source link

Fix code scanning alert-Incorrect conversion between integer types #561

Closed ghostloda closed 1 month ago

ghostloda commented 1 month ago

What type of PR is this? /kind bug

What this PR does / why we need it: Fix code scanning alert-Incorrect conversion between integer types

Which issue(s) this PR fixes: Fixes #549 Fixes #548 Fixes #547

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/util/util.go 0.00% 3 Missing :warning:
Flag Coverage Δ
unittests 27.44% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
pkg/util/util.go 30.99% <0.00%> (ø)
wawa0210 commented 1 month ago

good job 👍