mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #33767 from amontalban/2016.3
Fix #33604 implementation when 'geom disk list' does not output rotat…
This commit is contained in:
commit
3e48b701e3
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ def _freebsd_geom():
|
|||
return
|
||||
|
||||
ret['disks'][name] = tmp
|
||||
if tmp[_geomconsts.ROTATIONRATE] == 0:
|
||||
if tmp.get(_geomconsts.ROTATIONRATE) == 0:
|
||||
log.trace('Device {0} reports itself as an SSD'.format(device))
|
||||
ret['SSDs'].append(name)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue