mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-12-18 02:50:30 +00:00
cephfs: correct comment for validateExpandVolumeRequest
corrected the function comment for validateExpandVolumeRequest. Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
This commit is contained in:
parent
9fd51d9bec
commit
76f1b42498
@ -94,7 +94,7 @@ func (cs *ControllerServer) validateDeleteVolumeRequest() error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Controller expand volume request validation.
|
// validateExpandVolumeRequest validates the Controller ExpandVolume request.
|
||||||
func (cs *ControllerServer) validateExpandVolumeRequest(req *csi.ControllerExpandVolumeRequest) error {
|
func (cs *ControllerServer) validateExpandVolumeRequest(req *csi.ControllerExpandVolumeRequest) error {
|
||||||
if err := cs.Driver.ValidateControllerServiceRequest(csi.ControllerServiceCapability_RPC_EXPAND_VOLUME); err != nil {
|
if err := cs.Driver.ValidateControllerServiceRequest(csi.ControllerServiceCapability_RPC_EXPAND_VOLUME); err != nil {
|
||||||
return fmt.Errorf("invalid ExpandVolumeRequest: %w", err)
|
return fmt.Errorf("invalid ExpandVolumeRequest: %w", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user