Skip to content

Conversation

@rollandf
Copy link
Member

No description provided.

log.Info("udev rules file created successfully", "path", u.path)

// Read and log the file content on debug level (equivalent to bash: debug_print `cat ${MLX_UDEV_RULES_FILE}`)
if content, err := u.os.ReadFile(u.path); err != nil {
Copy link
Collaborator

Choose a reason for hiding this comment

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

no need to read file to print it if we've got it's content in a variable

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed

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

Pull Request Test Coverage Report for Build 18004874888

Details

  • 33 of 33 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+1.2%) to 76.274%

Totals Coverage Status
Change from base Build 18002922489: 1.2%
Covered Lines: 1392
Relevant Lines: 1825

💛 - Coveralls

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 9528880 into Mellanox:main Sep 29, 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