Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use container device idx #742

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

elrondwong
Copy link
Contributor

image

@elrondwong elrondwong force-pushed the use-container-device-idx branch from 764b2bf to 9982e83 Compare December 26, 2024 10:17
- Completed TODO: current Idx cannot use, because EncodeContainerDevices method

- Updated test cases to include `index` in the `want` structure.
- Ensured better coverage of scenarios involving `index` handling.

chore: update .gitignore to ignore build and test output

- Added `_output/` directory to `.gitignore` to ignore generated build artifacts.
- Added `coverage.out` to `.gitignore` to ignore test coverage reports.

Signed-off-by: elrondwong <[email protected]>
@elrondwong elrondwong force-pushed the use-container-device-idx branch from 743cc1e to 89f62f5 Compare December 26, 2024 10:58
Copy link

codecov bot commented Dec 26, 2024

Codecov Report

Attention: Patch coverage is 68.18182% with 7 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/util/util.go 68.18% 5 Missing and 2 partials ⚠️
Flag Coverage Δ
unittests 43.47% <68.18%> (-0.30%) ⬇️

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

Files with missing lines Coverage Δ
pkg/util/types.go 0.00% <ø> (ø)
pkg/util/util.go 45.33% <68.18%> (+0.12%) ⬆️

... and 1 file with indirect coverage changes

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.

1 participant