Skip to content
This repository has been archived by the owner on Jan 2, 2020. It is now read-only.

Commit

Permalink
compatibale with linode
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjid133 committed Aug 9, 2018
1 parent 4785856 commit 08afcc5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/sanity/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ var _ = DescribeSanity("Controller Service", func(sc *SanityContext) {
_, err := c.ValidateVolumeCapabilities(
context.Background(),
&csi.ValidateVolumeCapabilitiesRequest{
VolumeId: "some-vol-id",
VolumeId: "12345",
VolumeCapabilities: []*csi.VolumeCapability{
{
AccessType: &csi.VolumeCapability_Mount{
Expand Down Expand Up @@ -789,8 +789,8 @@ var _ = DescribeSanity("Controller Service", func(sc *SanityContext) {
conpubvol, err := c.ControllerPublishVolume(
context.Background(),
&csi.ControllerPublishVolumeRequest{
VolumeId: "some-vol-id",
NodeId: "some-node-id",
VolumeId: "12345",
NodeId: "9876",
VolumeCapability: &csi.VolumeCapability{
AccessType: &csi.VolumeCapability_Mount{
Mount: &csi.VolumeCapability_MountVolume{},
Expand Down Expand Up @@ -847,7 +847,7 @@ var _ = DescribeSanity("Controller Service", func(sc *SanityContext) {
context.Background(),
&csi.ControllerPublishVolumeRequest{
VolumeId: vol.GetVolume().GetId(),
NodeId: "some-fake-node-id",
NodeId: "9876",
VolumeCapability: &csi.VolumeCapability{
AccessType: &csi.VolumeCapability_Mount{
Mount: &csi.VolumeCapability_MountVolume{},
Expand Down

0 comments on commit 08afcc5

Please sign in to comment.