From fd17559a73099f05ad857e1a0a53ba45613b3982 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 25 Oct 2018 16:11:54 -0400 Subject: [PATCH] Show result of changing disk state. When changing disk state, let the caller know the result explicitly. --- confluent_server/confluent/plugins/hardwaremanagement/ipmi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py index d236c55c..d2f5f427 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py @@ -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':