Skip to content

Commit a16565c

Browse files
authored
Update parsers.py (#51)
disable stripe, as that info seems unavailably in gluster 9 and higher and stripe volumes seem to be deprecated.
1 parent 345445a commit a16565c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

glustercli/cli/parsers.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,8 @@ def _parse_a_vol(volume_el):
139139
'status': volume_el.find('statusStr').text,
140140
'num_bricks': int(volume_el.find('brickCount').text),
141141
'distribute': int(volume_el.find('distCount').text),
142-
'stripe': int(volume_el.find('stripeCount').text),
142+
# 'stripe': int(volume_el.find('stripeCount').text),
143+
# 'stripe' : 1,
143144
'replica': int(volume_el.find('replicaCount').text),
144145
'disperse': int(volume_el.find('disperseCount').text),
145146
'disperse_redundancy': int(volume_el.find('redundancyCount').text),

0 commit comments

Comments
 (0)