Skip to content

fix: improve PasswordChangeRequired error handling - #120

Open
krish-nvidia wants to merge 1 commit into
mainfrom
krish/password_change_required
Open

fix: improve PasswordChangeRequired error handling#120
krish-nvidia wants to merge 1 commit into
mainfrom
krish/password_change_required

Conversation

@krish-nvidia

Copy link
Copy Markdown

This PR:

  • Preserves the target manager account URI from PasswordChangeRequired extended messages.
  • Exposes it as account_uri: Option<String> on RedfishError.
  • Keeps compatibility with BMCs that omit MessageArgs.

This allows callers to patch the correct account instead of relying on a hardcoded account ID. Tested manually via compiling nico-admin-cli with this change and verifying the message arg.

Related issue: NVIDIA/infra-controller#4724

Signed-off-by: Krish Dandiwala <kdandiwala@nvidia.com>

@martinraumann martinraumann left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants