mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
extfs module: blocks -> free_blocks, to avoid shadowing same-named func
This commit is contained in:
parent
6122b8a2b5
commit
c49980ad46
@ -251,8 +251,8 @@ def dump(device, args=None):
|
||||
ret['blocks'][group]['extra'] = []
|
||||
elif 'Free blocks:' in line:
|
||||
comps = line.split(': ')
|
||||
blocks = comps[1].split(', ')
|
||||
ret['blocks'][group]['free blocks'] = blocks
|
||||
free_blocks = comps[1].split(', ')
|
||||
ret['blocks'][group]['free blocks'] = free_blocks
|
||||
elif 'Free inodes:' in line:
|
||||
comps = line.split(': ')
|
||||
inodes = comps[1].split(', ')
|
||||
|
Loading…
Reference in New Issue
Block a user