Skip to content

Commit

Permalink
Improv Internal Error Code (#82)
Browse files Browse the repository at this point in the history
* Improv Internal Error Code

Signed-off-by: Sameer Shaikh <[email protected]>

* Improv Internal Error Code

Signed-off-by: Sameer Shaikh <[email protected]>

* Improv Internal Error Code

Signed-off-by: Sameer Shaikh <[email protected]>

---------

Signed-off-by: Sameer Shaikh <[email protected]>
  • Loading branch information
sameshai authored Jun 7, 2024
1 parent d6cfbba commit 46b65d3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand Down
2 changes: 1 addition & 1 deletion pkg/ibmcsidriver/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 46b65d3

Please sign in to comment.