]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
node-proxy: drop redfish_system._process_redfish_system method
authorGuillaume Abrioux <gabrioux@ibm.com>
Mon, 22 May 2023 12:09:03 +0000 (14:09 +0200)
committerGuillaume Abrioux <gabrioux@ibm.com>
Thu, 25 Jan 2024 14:43:29 +0000 (14:43 +0000)
This method isn't needed, let's drop it.

Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/cephadm/node-proxy/redfish_system.py

index 6dd457774d9fa5dc01e8864b98692818a8f8f868..f10a30ece4c8b23580ddca7132fd15d9da1e2b3d 100644 (file)
@@ -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()