]> 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>
Wed, 18 Feb 2026 08:52:38 +0000 (09:52 +0100)
commita505a2248bcce45e7d43f90d6f20e72432cb1ca8
treeaea08ea070f0ea4b3721e9e36d1c0f22e7ba0e55
parent007f33c5b92245f4e741dc0bfc00b80bdcdc088a
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