From 49f5d4a54ef8de68cf7597d698718d38b2409e33 Mon Sep 17 00:00:00 2001 From: gman Date: Thu, 14 Feb 2019 22:25:32 +0100 Subject: [PATCH] fix lint error --- pkg/rbd/controllerserver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/rbd/controllerserver.go b/pkg/rbd/controllerserver.go index 5950572a7..6b4e2a630 100644 --- a/pkg/rbd/controllerserver.go +++ b/pkg/rbd/controllerserver.go @@ -305,6 +305,7 @@ func (cs *ControllerServer) ControllerPublishVolume(ctx context.Context, req *cs // CreateSnapshot creates the snapshot in backend and stores metadata // in store +// nolint: gocyclo func (cs *ControllerServer) CreateSnapshot(ctx context.Context, req *csi.CreateSnapshotRequest) (*csi.CreateSnapshotResponse, error) { if err := cs.validateSnapshotReq(req); err != nil {