From 0bf86463401aaface1bb8be33bc5e3a96259407d Mon Sep 17 00:00:00 2001 From: Marcel Lauhoff Date: Mon, 24 Oct 2022 14:29:00 +0200 Subject: [PATCH] cephfs: nolint:gocyclo NewVolumeOptions, NewVolumeOptionsFromVolID Signed-off-by: Marcel Lauhoff --- internal/cephfs/store/volumeoptions.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/cephfs/store/volumeoptions.go b/internal/cephfs/store/volumeoptions.go index 71a03e68b..24e96655c 100644 --- a/internal/cephfs/store/volumeoptions.go +++ b/internal/cephfs/store/volumeoptions.go @@ -210,6 +210,7 @@ func fmtBackingSnapshotOptionMismatch(optName, expected, actual string) error { // NewVolumeOptions generates a new instance of volumeOptions from the provided // CSI request parameters. +// nolint:gocyclo,cyclop // TODO: reduce complexity func NewVolumeOptions( ctx context.Context, requestName, @@ -324,6 +325,7 @@ func NewVolumeOptions( // newVolumeOptionsFromVolID generates a new instance of volumeOptions and VolumeIdentifier // from the provided CSI VolumeID. +// nolint:gocyclo,cyclop // TODO: reduce complexity func NewVolumeOptionsFromVolID( ctx context.Context, volID string,