]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
node-proxy: use safe field access in storage update
authorGuillaume Abrioux <gabrioux@ibm.com>
Wed, 28 Jan 2026 12:10:26 +0000 (13:10 +0100)
committerGuillaume Abrioux <gabrioux@ibm.com>
Tue, 10 Feb 2026 15:02:39 +0000 (16:02 +0100)
commit77e80d02b97526a04a4496055dab8b7c23acc8a7
tree333963520edd9a6957e1895f7e656dd5e1ef8893
parentfaaade30e6d58edb04f844d348619627bf943abb
node-proxy: use safe field access in storage update

Replace direct dictionary access with .get() method when processing
storage fields to handle missing optional fields gracefully.

(extra change: extract get_members_names() call for better readability.)

Fixes: https://tracker.ceph.com/issues/74749
Signed-off-by: Guillaume Abrioux <gabrioux@ibm.com>
src/ceph-node-proxy/ceph_node_proxy/redfishdellsystem.py