cephfs: add comment for validateCreateVolumeRequest

added function comment for
validateCreateVolumeRequest

Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
Madhu Rajanna 2021-09-07 12:04:55 +05:30 committed by mergify[bot]
parent 8caeb409bb
commit 9fd51d9bec

View File

@ -26,7 +26,7 @@ import (
"google.golang.org/grpc/status"
)
// Controller service request validation.
// validateCreateVolumeRequest validates the Controller CreateVolume request.
func (cs *ControllerServer) validateCreateVolumeRequest(req *csi.CreateVolumeRequest) error {
if err := cs.Driver.ValidateControllerServiceRequest(
csi.ControllerServiceCapability_RPC_CREATE_DELETE_VOLUME); err != nil {