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 for issue #450 #453

Merged
merged 2 commits into from
Jun 3, 2019
Merged

Conversation

purushotham-s
Copy link
Collaborator

PR addresses issue #450 where a data disk was showing up under OS disk screen, this is caused by if disk_name not in name: in get_partitions(). If sda is present in name and if not in evaluates against a disk_name containing a drive with the name sdaa, the drive will be considered as a OS disk. I've added a check to ensure that the whole disk name is compared before considering it as an OS disk.

Copy link
Contributor

@fractalram fractalram left a comment

Choose a reason for hiding this comment

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

I think the two lines -
if disk_name not in name:
continue

are no longer needed.. Theseshd just be removed as well.

@fractalram fractalram merged commit 3140949 into integralstor:master Jun 3, 2019
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.

None yet

2 participants