]> 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>
Thu, 5 Feb 2026 16:27:06 +0000 (17:27 +0100)
commit228d824f9b5fda5df87ed842e159f848673a7bd8
tree0093fe309f654363ff3e6475c19fe00bf1963100
parent94202c889b3ed2b6d5d2b6b1a17462f95c3ccd1b
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