From 46b65d33eb60b8dc1ba28b1d2736ba830372f4b9 Mon Sep 17 00:00:00 2001 From: Sameer Shaikh <79081767+sameshai@users.noreply.github.com> Date: Fri, 7 Jun 2024 16:38:08 +0530 Subject: [PATCH] Improv Internal Error Code (#82) * Improv Internal Error Code Signed-off-by: Sameer Shaikh * Improv Internal Error Code Signed-off-by: Sameer Shaikh * Improv Internal Error Code Signed-off-by: Sameer Shaikh --------- Signed-off-by: Sameer Shaikh --- go.mod | 2 +- go.sum | 4 ++-- pkg/ibmcsidriver/controller.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index a8cc696..a733001 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ go 1.20 require ( github.com/IBM/ibm-csi-common v1.1.13 - github.com/IBM/ibmcloud-volume-file-vpc v1.2.3 + github.com/IBM/ibmcloud-volume-file-vpc v1.2.4 github.com/IBM/ibmcloud-volume-interface v1.2.4 github.com/IBM/secret-utils-lib v1.1.9 github.com/container-storage-interface/spec v1.8.0 diff --git a/go.sum b/go.sum index 7b3f6fb..c07cd0d 100644 --- a/go.sum +++ b/go.sum @@ -9,8 +9,8 @@ github.com/IBM/go-sdk-core/v5 v5.15.1 h1:XOzNZbBgnlxOGK1JMMBtZJYSVguK4TFPJiYutuz github.com/IBM/go-sdk-core/v5 v5.15.1/go.mod h1:so2mbdIgSp6X8Zm/qLV+whdchTGgi04c3j4xFMsqlCc= github.com/IBM/ibm-csi-common v1.1.13 h1:Rkr7CNS9JIfxCUcdtVwvBKjjeqMoJCWgw2jk35wOd/4= github.com/IBM/ibm-csi-common v1.1.13/go.mod h1:I9fF6E92ihLP0qcw/Dqid5Zkf137VDP/tPfxGl652Cc= -github.com/IBM/ibmcloud-volume-file-vpc v1.2.3 h1:AStmUUPwBbfNA2x8zf5bjIk2L4w7NjKKvY5xBpTsW/I= -github.com/IBM/ibmcloud-volume-file-vpc v1.2.3/go.mod h1:t3danGqnDfQ33laV2ffxyx1w/nvpECWf6Xh54kRuxQw= +github.com/IBM/ibmcloud-volume-file-vpc v1.2.4 h1:gbmuXjDvGNmLPrjYAtYm8InK8NpI6guRJCJXxPRkeZM= +github.com/IBM/ibmcloud-volume-file-vpc v1.2.4/go.mod h1:t3danGqnDfQ33laV2ffxyx1w/nvpECWf6Xh54kRuxQw= github.com/IBM/ibmcloud-volume-interface v1.2.4 h1:4ULPklSo9ZN7S8d2bS/eBSV99HDowju55bnKT6pt+S0= github.com/IBM/ibmcloud-volume-interface v1.2.4/go.mod h1:PMe4wOp+EEkVNwlo/iJahh+6/aIvjWo+nAdHB1oGBFE= github.com/IBM/secret-common-lib v1.1.8 h1:FX/fSN108phDwlMF9YhFdVCULTWCcHneeuT+dBH6wnk= diff --git a/pkg/ibmcsidriver/controller.go b/pkg/ibmcsidriver/controller.go index 1bc8482..49957c5 100644 --- a/pkg/ibmcsidriver/controller.go +++ b/pkg/ibmcsidriver/controller.go @@ -240,7 +240,7 @@ func (csiCS *CSIControllerServer) CreateVolume(ctx context.Context, req *csi.Cre volumeObj, err = session.CreateVolume(*requestedVolume) if err != nil { - return nil, commonError.GetCSIError(ctxLogger, commonError.InternalError, requestID, err, "creation") + return nil, commonError.GetCSIError(ctxLogger, commonError.InternalError, requestID, err) } ctxLogger.Info("Volume Created", zap.Reflect("Volume", volumeObj))