mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
cephfs: add comment for validateDeleteVolumeRequest
added function comment for the validateDeleteVolumeRequest function. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
be7749c90e
commit
8caeb409bb
@ -84,6 +84,7 @@ func (cs *ControllerServer) validateCreateVolumeRequest(req *csi.CreateVolumeReq
|
||||
return nil
|
||||
}
|
||||
|
||||
// validateDeleteVolumeRequest validates the Controller DeleteVolume request.
|
||||
func (cs *ControllerServer) validateDeleteVolumeRequest() error {
|
||||
if err := cs.Driver.ValidateControllerServiceRequest(
|
||||
csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME); err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user