mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix salt.modules.linux_lvm.fullversion
Due to an indentation error fullversion() returns only the last string of 'lvm version' output. Fix it. Fixes #39057
This commit is contained in:
parent
fb7ef99838
commit
e46c89f9ed
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ def fullversion():
|
|||
out = __salt__['cmd.run'](cmd).splitlines()
|
||||
for line in out:
|
||||
comps = line.split(':')
|
||||
ret[comps[0].strip()] = comps[1].strip()
|
||||
ret[comps[0].strip()] = comps[1].strip()
|
||||
return ret
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue