From: Guillaume Abrioux Date: Mon, 22 May 2023 12:09:03 +0000 (+0200) Subject: node-proxy: drop redfish_system._process_redfish_system method X-Git-Tag: v18.2.4~314^2~106 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=b4780ae36089c4a739aa0ef2ffd0e8248a6bc357;p=ceph.git 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) --- 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()