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 crash of argon-status #48

Merged
merged 1 commit into from
Apr 8, 2023
Merged

Conversation

JeffCurless
Copy link
Owner

When there is no raid setup, show_raid does not return a value, thus when we get to printTable, the data parameter comes in as None. Fix is to modify the show_raid function to ensure it returns something (None) and then handle None in printTable.

When there is no raid setup, show_raid does not return a value, thus
when we get to printTable, the data parameter comes in as None.  Fix is
to modify the show_raid function to ensure it returns something (None)
and then handle None in printTable.
@JeffCurless JeffCurless linked an issue Apr 8, 2023 that may be closed by this pull request
@JeffCurless JeffCurless merged commit dd9c6e5 into main Apr 8, 2023
@JeffCurless JeffCurless deleted the 47-exception-when-no-raid-configured branch April 8, 2023 14:17
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.

Exception when no raid configured
1 participant