Skip to content

Conversation

@rollandf
Copy link
Member

No description provided.

@coveralls
Copy link

coveralls commented Sep 17, 2025

Pull Request Test Coverage Report for Build 17937633325

Details

  • 35 of 50 (70.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.7%) to 61.492%

Changes Missing Coverage Covered Lines Changed/Added Lines %
entrypoint/internal/driver/driver.go 35 50 70.0%
Totals Coverage Status
Change from base Build 17937483945: 0.7%
Covered Lines: 511
Relevant Lines: 831

💛 - Coveralls

log := logr.FromContextOrDiscard(ctx)
log.V(1).Info("Generating OFED modules blacklist")

// Ensure the directory exists
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why we need this check and mkdir call? we store config in /host/etc/modprobe.d/ and it should exists

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ack. Removed it.


// Load is the default implementation of the driver.Interface.
func (d *driverMgr) Load(ctx context.Context) (bool, error) {
// TODO: Implement
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please, remove this TODO

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

Signed-off-by: Fred Rolland <[email protected]>
Copy link
Collaborator

@e0ne e0ne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for addressing my comments

@rollandf rollandf merged commit 9386430 into Mellanox:main Sep 25, 2025
4 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.

4 participants