Skip to content

Commit cf12c83

Browse files
committed
Add VolumeContext in ControllerPublishVolume
Currently the VolumeContext is not populated in the ControllerPublishVolume request in the volume lifecycle tests. Similar to the NodePublishVolume, populate the VolumeContext as is. Signed-off-by: Marjus Cako <[email protected]>
1 parent 7bd79c0 commit cf12c83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/sanity/controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1721,6 +1721,7 @@ func VolumeLifecycle(r *Resources, sc *TestContext, count int) {
17211721
VolumeId: vol.GetVolume().GetVolumeId(),
17221722
NodeId: ni.GetNodeId(),
17231723
VolumeCapability: TestVolumeCapabilityWithAccessType(sc, csi.VolumeCapability_AccessMode_SINGLE_NODE_WRITER),
1724+
VolumeContext: vol.GetVolume().GetVolumeContext(),
17241725
Readonly: false,
17251726
Secrets: sc.Secrets.ControllerPublishVolumeSecret,
17261727
},

0 commit comments

Comments
 (0)