mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-09 16:00:22 +00:00
rbd: advertise VOLUME_CONDITION
rbd nodeserver is already setting volume condition in NodeGetVolumeStats RPC call but the cap is not updated for it, This PR advertise the VOLUME_CONDITION Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
94ce694e09
commit
54ae9f953a
@ -1199,6 +1199,13 @@ func (ns *NodeServer) NodeGetCapabilities(
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
Type: &csi.NodeServiceCapability_Rpc{
|
||||||
|
Rpc: &csi.NodeServiceCapability_RPC{
|
||||||
|
Type: csi.NodeServiceCapability_RPC_VOLUME_CONDITION,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
Type: &csi.NodeServiceCapability_Rpc{
|
Type: &csi.NodeServiceCapability_Rpc{
|
||||||
Rpc: &csi.NodeServiceCapability_RPC{
|
Rpc: &csi.NodeServiceCapability_RPC{
|
||||||
|
Loading…
Reference in New Issue
Block a user