mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
csi: volume snapshot list plugin option is required (#12197)
The RPC for listing volume snapshots requires a plugin ID. Update the `volume snapshot list` command to find the specific plugin from the provided prefix.
This commit is contained in:
@@ -176,7 +176,7 @@ func (tc *CSIControllerPluginEBSTest) TestSnapshot(f *framework.F) {
|
||||
f.NoError(err, fmt.Sprintf("could not parse output:\n%v", out))
|
||||
f.Len(snaps, 1, fmt.Sprintf("could not parse output:\n%v", out))
|
||||
|
||||
out, err = e2e.Command("nomad", "volume", "snapshot", "list")
|
||||
out, err = e2e.Command("nomad", "volume", "snapshot", "list", "-plugin", ebsPluginID)
|
||||
requireNoErrorElseDump(f, err, "could not list volume snapshots", tc.pluginJobIDs)
|
||||
f.Contains(out, snaps[0]["ID"],
|
||||
fmt.Sprintf("volume snapshot list did not include expected snapshot:\n%v", out))
|
||||
|
||||
Reference in New Issue
Block a user