Skip to content

xapi-cli-server: set name description for SRs, when given#7066

Merged
psafont merged 1 commit into
xapi-project:masterfrom
psafont:dev/pau/sr-description
May 14, 2026
Merged

xapi-cli-server: set name description for SRs, when given#7066
psafont merged 1 commit into
xapi-project:masterfrom
psafont:dev/pau/sr-description

Conversation

@psafont

@psafont psafont commented May 13, 2026

Copy link
Copy Markdown
Member

Previously the parameter was ignored and this was confusing users that expected the parameter to be used.

@last-genius last-genius left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm wondering if we should modify xe so that we always warn that a parameter is unused? it's probably going to reveal a few missing parameters in cli_frontend, but it will make it more obvious that a command line doesn't really do what it advertises

@@ -2606,6 +2606,7 @@ let parse_host_uuid ?(default_master = true) rpc session_id params =

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

You also need to modify cli_frontend.ml so that "name-description" shows up as an optional argument in the documentation.

Previously the parameter was ignored and this was confusing users that
expected the parameter to be used.

Signed-off-by: Pau Ruiz Safont <pau.safont@vates.tech>
@psafont psafont force-pushed the dev/pau/sr-description branch from ed5bcc2 to 19b0ea2 Compare May 14, 2026 09:52
@psafont psafont enabled auto-merge May 14, 2026 09:56
@psafont psafont added this pull request to the merge queue May 14, 2026
Merged via the queue into xapi-project:master with commit 774669d May 14, 2026
16 checks passed
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