Skip to content

Commit

Permalink
Update parsers.py (#51)
Browse files Browse the repository at this point in the history
disable stripe, as that info seems unavailably in gluster 9 and higher and stripe volumes seem to be deprecated.
  • Loading branch information
thetuxinator authored Jan 5, 2022
1 parent 345445a commit a16565c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion glustercli/cli/parsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,8 @@ def _parse_a_vol(volume_el):
'status': volume_el.find('statusStr').text,
'num_bricks': int(volume_el.find('brickCount').text),
'distribute': int(volume_el.find('distCount').text),
'stripe': int(volume_el.find('stripeCount').text),
# 'stripe': int(volume_el.find('stripeCount').text),
# 'stripe' : 1,
'replica': int(volume_el.find('replicaCount').text),
'disperse': int(volume_el.find('disperseCount').text),
'disperse_redundancy': int(volume_el.find('redundancyCount').text),
Expand Down

0 comments on commit a16565c

Please sign in to comment.