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

Fix regression where non-raid attached disks did not determine correct disk type #133

Merged
merged 2 commits into from
Feb 22, 2024

Conversation

raharper
Copy link
Collaborator

The raid controller merge regressed the path for non-raid attached disks
and all such disks were classified as HDDs. This was found under KVM
testing where disko uses a prefix in the ID_SERIAL property to set the
disk type to SSD.

  • Add coverage for this path

Add coverage for the diskType hint under kvm

Signed-off-by: Ryan Harper <[email protected]>
…t disk type

The raid controller merge regressed the path for non-raid attached disks
and all such disks were classified as HDDs.  This was found under KVM
testing where disko uses a prefix in the ID_SERIAL property to set the
disk type to SSD.

Signed-off-by: Ryan Harper <[email protected]>
Copy link

codecov bot commented Feb 21, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (7b7d307) 65.38% compared to head (749ccdd) 66.02%.

Files Patch % Lines
linux/system.go 50.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   65.38%   66.02%   +0.64%     
==========================================
  Files          17       17              
  Lines        2551     2555       +4     
==========================================
+ Hits         1668     1687      +19     
+ Misses        683      661      -22     
- Partials      200      207       +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@hallyn hallyn merged commit 247dd95 into project-machine:main Feb 22, 2024
3 of 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.

2 participants