Skip to content

fix: Reuse instantiated editsFactory in CDI#1666

Open
elezar wants to merge 1 commit intoNVIDIA:mainfrom
elezar:ensure-that-edit-factory-is-propagated
Open

fix: Reuse instantiated editsFactory in CDI#1666
elezar wants to merge 1 commit intoNVIDIA:mainfrom
elezar:ensure-that-edit-factory-is-propagated

Conversation

@elezar
Copy link
Member

@elezar elezar commented Feb 19, 2026

This change ensures that the editsFactory is instantiated
once and passed to the nvcdi constructor. This makes it
unnecessary to reprocess optional arguments and configs.

Signed-off-by: Evan Lezar <elezar@nvidia.com>
@coveralls
Copy link

Pull Request Test Coverage Report for Build 22182679372

Details

  • 4 of 11 (36.36%) changed or added relevant lines in 4 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.007%) to 39.242%

Changes Missing Coverage Covered Lines Changed/Added Lines %
internal/modifier/csv.go 0 1 0.0%
internal/modifier/cdi.go 0 2 0.0%
pkg/nvcdi/options.go 0 4 0.0%
Totals Coverage Status
Change from base Build 22172425585: 0.007%
Covered Lines: 5800
Relevant Lines: 14780

💛 - Coveralls

@elezar elezar changed the title fix: Reused instantiated editsFactory in CDI fix: Reuse instantiated editsFactory in CDI Feb 19, 2026
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