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

NAS-132940 / 25.04 / fix zvol output when there are no zvols #250

Merged
merged 1 commit into from
Dec 6, 2024

Conversation

yocalebo
Copy link
Contributor

@yocalebo yocalebo commented Dec 6, 2024

If there are zvols, stderr is printed to and there will be no stdout. We'll crash on output_lines[0] with IndexError. Just handle the fact when there is no output.

@yocalebo yocalebo requested a review from a team December 6, 2024 17:58
@bugclerk bugclerk changed the title fix zvol output when there are no zvols NAS-132940 / 25.04 / fix zvol output when there are no zvols Dec 6, 2024
@bugclerk
Copy link

bugclerk commented Dec 6, 2024

1 similar comment
@bugclerk
Copy link

bugclerk commented Dec 6, 2024

@yocalebo yocalebo merged commit dbda34b into master Dec 6, 2024
5 checks passed
@yocalebo yocalebo deleted the fix-zvol-out branch December 6, 2024 18:01
@bugclerk
Copy link

bugclerk commented Dec 6, 2024

This PR has been merged and conversations have been locked.
If you would like to discuss more about this issue please use our forums or raise a Jira ticket.

@truenas truenas locked as resolved and limited conversation to collaborators Dec 6, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants