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:
parent
3945ccd5c3
commit
fd17559a73
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user