mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
This commit is contained in:
parent
a8d9221631
commit
b8c0dd5b4c
@ -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…
Reference in New Issue
Block a user