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 exception with no heal data #52

Merged
merged 1 commit into from
Nov 10, 2020
Merged

Fix exception with no heal data #52

merged 1 commit into from
Nov 10, 2020

Conversation

Joibel
Copy link
Contributor

@Joibel Joibel commented Nov 9, 2020

When there is no heal data 'healinfo' is an invalid dictionary entry
for volumes and will give a KeyError: 'healinfo' when trying to print
the information from them.

This change skips trying to gather heal information for such volumes.

When there is no heal data 'healinfo' is an invalid dictionary entry
for volumes and will give a KeyError: 'healinfo' when trying to print
the information from them.

This change skips trying to gather heal information for such volumes.
@amarts amarts requested a review from sac November 9, 2020 17:35
Copy link
Member

@amarts amarts left a comment

Choose a reason for hiding this comment

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

LGTM

@sac sac merged commit 5f35682 into gluster:master Nov 10, 2020
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.

3 participants