You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: adapt to new libnvme nvme.ctrl() dict-based constructor
The libnvme Python bindings changed nvme.ctrl() to accept a single dict
instead of individual keyword arguments. Consolidate _get_cfg() to build
the complete parameter dict (transport ID fields + fabrics config), then
pass it directly to nvme.ctrl(). The connect() call no longer takes a cfg
argument.
Also fix dhchap_key -> dhchap_ctrl_key to match the renamed property in
the new bindings (the old name silently created a shadow Python attribute
instead of calling the C setter).
Signed-off-by: Martin Belanger <Martin.Belanger@dell.com>
Assisted-by: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments