2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 19:40:12 +00:00

Show result of changing disk state.

When changing disk state, let the caller know the result explicitly.
This commit is contained in:
Jarrod Johnson 2018-10-25 16:11:54 -04:00
parent 3945ccd5c3
commit fd17559a73

View File

@ -948,6 +948,7 @@ class IpmiHandler(object):
raise exc.InvalidArgumentException('Must target a disk')
self.set_disk(storelem[-1],
self.inputdata.inputbynode[self.node])
self._show_storage(storelem)
def _show_storage(self, storelem):
if storelem[0] == 'disks':