Correct static errors and source code comments.

Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
Humble Chirammal
2020-03-26 18:15:45 +05:30
committed by mergify[bot]
parent 399f0b0d89
commit b1dfcb4d7e
4 changed files with 8 additions and 8 deletions

View File

@ -21,7 +21,6 @@ import (
csicommon "github.com/ceph/ceph-csi/pkg/csi-common"
"github.com/ceph/ceph-csi/pkg/util"
"github.com/container-storage-interface/spec/lib/go/csi"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
@ -311,7 +310,7 @@ func (cs *ControllerServer) ValidateVolumeCapabilities(
}, nil
}
// ExpandVolume expand CephFS Volumes on demand based on resizer request
// ControllerExpandVolume expands CephFS Volumes on demand based on resizer request
func (cs *ControllerServer) ControllerExpandVolume(ctx context.Context, req *csi.ControllerExpandVolumeRequest) (*csi.ControllerExpandVolumeResponse, error) {
if err := cs.validateExpandVolumeRequest(req); err != nil {
klog.Errorf(util.Log(ctx, "ControllerExpandVolumeRequest validation failed: %v"), err)