Skip to content

Commit 555d70a

Browse files
authored
Merge pull request #280 from yuga711/listvols
Add CSI LIST_VOLUMES_PUBLISHED_NODES to the controller in mock
2 parents 09bd3cf + 7873ade commit 555d70a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

mock/service/controller.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -498,6 +498,13 @@ func (s *service) ControllerGetCapabilities(
498498
},
499499
},
500500
},
501+
{
502+
Type: &csi.ControllerServiceCapability_Rpc{
503+
Rpc: &csi.ControllerServiceCapability_RPC{
504+
Type: csi.ControllerServiceCapability_RPC_LIST_VOLUMES_PUBLISHED_NODES,
505+
},
506+
},
507+
},
501508
{
502509
Type: &csi.ControllerServiceCapability_Rpc{
503510
Rpc: &csi.ControllerServiceCapability_RPC{

0 commit comments

Comments
 (0)