From b4780ae36089c4a739aa0ef2ffd0e8248a6bc357 Mon Sep 17 00:00:00 2001 From: Guillaume Abrioux Date: Mon, 22 May 2023 14:09:03 +0200 Subject: [PATCH] node-proxy: drop redfish_system._process_redfish_system method This method isn't needed, let's drop it. Signed-off-by: Guillaume Abrioux (cherry picked from commit 9b2a3345b6e52b152ebf680abf319300dad513d2) --- src/cephadm/node-proxy/redfish_system.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/cephadm/node-proxy/redfish_system.py b/src/cephadm/node-proxy/redfish_system.py index 6dd457774d9f..f10a30ece4c8 100644 --- a/src/cephadm/node-proxy/redfish_system.py +++ b/src/cephadm/node-proxy/redfish_system.py @@ -45,13 +45,9 @@ class RedfishSystem(System): def get_storage(self): return self._system['storage'] - def _process_redfish_system(self, redfish_system): - return redfish_system - def _update_system(self): redfish_system = self.client.get_path(self.system_endpoint) - _system = self._process_redfish_system(redfish_system) - self._system = {**_system, **self._system} + self._system = {**redfish_system, **self._system} def _update_metadata(self): raise NotImplementedError() -- 2.47.3