Skip to content
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

CSI: get plugin ID for creating snapshot from volume, not args #12195

Merged
merged 1 commit into from
Mar 7, 2022

Commits on Mar 4, 2022

  1. csi: get plugin ID for creating snapshot from volume, not args

    The `CreateSnapshot` RPC expects a plugin ID to be set by the API, but
    in the common case of the `nomad volume snapshot create` command, we
    don't ask the user for the plugin ID because it's available from the
    volume we're snapshotting.
    
    Change the order of the RPC so that we get the volume first and then
    use the volume's plugin ID for the plugin if the API didn't set the
    value.
    tgross committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    03a1f11 View commit details
    Browse the repository at this point in the history