mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #37797 from clan/extfs
check count of columns after split
This commit is contained in:
commit
87aeb66fbf
1 changed files with 2 additions and 0 deletions
|
@ -245,6 +245,8 @@ def dump(device, args=None):
|
|||
elif line.startswith('Group') and not line.startswith('Group descriptor size'):
|
||||
mode = 'blocks'
|
||||
else:
|
||||
if len(comps) < 2:
|
||||
continue
|
||||
ret['attributes'][comps[0]] = comps[1].strip()
|
||||
|
||||
if mode == 'blocks':
|
||||
|
|
Loading…
Add table
Reference in a new issue