-
Notifications
You must be signed in to change notification settings - Fork 935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lxc storage volume <action>
completion issue with snapshots
#14682
Milestone
Comments
kadinsayani
added
the
Jira
Triggers the synchronization of a GitHub issue in Jira
label
Dec 18, 2024
kadinsayani
added a commit
to kadinsayani/lxd
that referenced
this issue
Dec 18, 2024
…e show` Fixes canonical#14682. This commit fixes shell completions for snapshots when running `lxc storage volume show`. `GetStoragePoolVolumeNames` returns the full volume name including "/snapshots/", which is incorrect in the context of the CLI. Signed-off-by: Kadin Sayani <[email protected]>
kadinsayani
added a commit
to kadinsayani/lxd
that referenced
this issue
Dec 18, 2024
…e show` Fixes canonical#14682. This commit fixes shell completions for snapshots when running `lxc storage volume show`. `GetStoragePoolVolumeNames` returns the full volume name including "/snapshots/", which is incorrect in the context of the CLI. Signed-off-by: Kadin Sayani <[email protected]>
kadinsayani
added a commit
to kadinsayani/lxd
that referenced
this issue
Dec 19, 2024
…e show` Fixes canonical#14682. This commit fixes shell completions for snapshots when running `lxc storage volume show`. `GetStoragePoolVolumeNames` returns the full volume name including "/snapshots/", which is incorrect in the context of the CLI. Signed-off-by: Kadin Sayani <[email protected]>
kadinsayani
added a commit
to kadinsayani/lxd
that referenced
this issue
Dec 19, 2024
…e show` Fixes canonical#14682. This commit fixes shell completions for snapshots when running `lxc storage volume show`. `GetStoragePoolVolumeNames` returns the full volume name including "/snapshots/", which is incorrect in the context of the CLI. Signed-off-by: Kadin Sayani <[email protected]>
kadinsayani
added a commit
to kadinsayani/lxd
that referenced
this issue
Dec 19, 2024
…e show` Fixes canonical#14682. This commit fixes shell completions for snapshots when running `lxc storage volume show`. `GetStoragePoolVolumeNames` returns the full volume name including "/snapshots/", which is incorrect in the context of the CLI. Signed-off-by: Kadin Sayani <[email protected]> (cherry picked from commit 1bcc8b3)
tomponline
added a commit
that referenced
this issue
Dec 20, 2024
…date (#14702) Fixes #14682. Summary of changes: - Fixes shell completions for `lxc storage volume show`. `GetStoragePoolVolumeNames` returns the full volume name including "/snapshots/", which is incorrect in the context of the CLI. To address this issue, parsing has been added to serve valid completions for snapshot volumes. - Updates the command description for `lxc storage volume snapshot`. - Fixes `cmpInstanceSetKeys` logic to provide completions for any instance keys which are currently set, not just prefixed keys.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce:
tl;dr
: there is a bogussnapshots/
part being added during completion.The text was updated successfully, but these errors were encountered: