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 DetectDevice() #91

Merged
merged 1 commit into from
Mar 26, 2024
Merged

Fix DetectDevice() #91

merged 1 commit into from
Mar 26, 2024

Conversation

derekbit
Copy link
Member

The device should be in the first raw of the device list from "lsblk -l ...". However, The command "lsblk -l ..." unexpectedly sorts the device list, leading to the failure of device detection.

longhorn/longhorn#7672

Which issue(s) this PR fixes:

Issue #

What this PR does / why we need it:

Special notes for your reviewer:

Additional documentation or context

The device should be in the first raw of the device list from "lsblk -l ...".
However, The command "lsblk -l ..." unexpectedly sorts the device list,
leading to the failure of device detection.

Longhorn 7672

Signed-off-by: Derek Su <[email protected]>
@derekbit derekbit requested a review from shuo-wu March 26, 2024 16:57
@derekbit derekbit self-assigned this Mar 26, 2024
@derekbit derekbit requested review from innobead and DamiaSan March 26, 2024 16:57
@innobead innobead merged commit d05637d into longhorn:main Mar 26, 2024
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