Skip to content

fix(cleanup): properly handle FileSR exception for slave check - #798

Merged
Nambrok merged 1 commit into
xapi-project:masterfrom
xcp-ng:fix-fileSR_wrong_exception_catched_for_slave_check
Aug 19, 2026
Merged

fix(cleanup): properly handle FileSR exception for slave check#798
Nambrok merged 1 commit into
xapi-project:masterfrom
xcp-ng:fix-fileSR_wrong_exception_catched_for_slave_check

Conversation

@Ythogtha

Copy link
Copy Markdown
Contributor

A plugin is used by the _checkSlave helper.
Therefore, call_plugin is executed instead of a command helper, which means that CommandException cannot be raised.

A plugin is used by the `_checkSlave` helper.
Therefore, `call_plugin` is executed instead of a command helper, which means that `CommandException` cannot be raised.

Signed-off-by: Arnaud Garcia-Fernandez <arnaud.garcia-fernandez@vates.tech>
@Nambrok
Nambrok merged commit b4d2d7e into xapi-project:master Aug 19, 2026
2 checks passed
@Nambrok
Nambrok deleted the fix-fileSR_wrong_exception_catched_for_slave_check branch August 19, 2026 08:28
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.

4 participants