diff --git a/go.mod b/go.mod index 3c863741..88494ecf 100644 --- a/go.mod +++ b/go.mod @@ -3,9 +3,9 @@ module github.com/kubernetes-sigs/ibm-vpc-block-csi-driver go 1.16 require ( - github.com/IBM/ibm-csi-common v1.0.1-beta3 + github.com/IBM/ibm-csi-common v1.0.1-beta4 github.com/IBM/ibmcloud-volume-interface v1.0.1-beta4 - github.com/IBM/ibmcloud-volume-vpc v1.0.1-beta3 + github.com/IBM/ibmcloud-volume-vpc v1.0.1-beta4 github.com/container-storage-interface/spec v1.5.0 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b github.com/google/uuid v1.1.2 diff --git a/go.sum b/go.sum index 893d6684..201a2b56 100644 --- a/go.sum +++ b/go.sum @@ -55,12 +55,12 @@ github.com/IBM-Cloud/ibm-cloud-cli-sdk v0.6.7 h1:eHgfQl6IeSmzWUyiSi13CvoFYsovoyq github.com/IBM-Cloud/ibm-cloud-cli-sdk v0.6.7/go.mod h1:RiUvKuHKTBmBApDMUQzBL14pQUGKcx/IioKQPIcRQjs= github.com/IBM/go-sdk-core/v5 v5.9.1 h1:06pXbD9Rgmqqe2HA5YAeQbB4eYRRFgIoOT+Kh3cp1zo= github.com/IBM/go-sdk-core/v5 v5.9.1/go.mod h1:axE2JrRq79gIJTjKPBwV6gWHswvVptBjbcvvCPIxARM= -github.com/IBM/ibm-csi-common v1.0.1-beta3 h1:A/XzJSL15S8Fp7GnGFD6E9H+yPE7suTK7TXLCsjRuVg= -github.com/IBM/ibm-csi-common v1.0.1-beta3/go.mod h1:Mcb9VRU4PJ0LMYybDPvEzjZGHF8NkbOkuSj6/7FSvB4= +github.com/IBM/ibm-csi-common v1.0.1-beta4 h1:pAftpTVOQITA4lQjsuyUUjEL1iwdAKwPxd65EjqLa6w= +github.com/IBM/ibm-csi-common v1.0.1-beta4/go.mod h1:/6ovtJl43GCDoJ1INKrmWzW+ul7NZ+JXWYBRmmAugGk= github.com/IBM/ibmcloud-volume-interface v1.0.1-beta4 h1:h5vUOeIitxpLTV/iD6F8OvuxHvvHoMDaZu3VXcUMfjw= github.com/IBM/ibmcloud-volume-interface v1.0.1-beta4/go.mod h1:v1aT8G3Tib8pCwdr9VweNFYa94GejBuqIVTysoaVI0g= -github.com/IBM/ibmcloud-volume-vpc v1.0.1-beta3 h1:hUDo0NYTyqEiRaD4K6SD/CPe4Cmk87tDO78t9g+KelY= -github.com/IBM/ibmcloud-volume-vpc v1.0.1-beta3/go.mod h1:nB0Pk0f7Prvl99DtQRUfpkQdAzFXv34Dd1lkCQrlJyQ= +github.com/IBM/ibmcloud-volume-vpc v1.0.1-beta4 h1:YStQLDcRjTBR2poM/T0e+4dTlu0n/OiWmXdp2Nv7nXU= +github.com/IBM/ibmcloud-volume-vpc v1.0.1-beta4/go.mod h1:nB0Pk0f7Prvl99DtQRUfpkQdAzFXv34Dd1lkCQrlJyQ= github.com/IBM/secret-common-lib v1.0.3 h1:rhhAtAE1ANSuxhA8Nulzzc2IbXWHGE8reoRSr98rRi8= github.com/IBM/secret-common-lib v1.0.3/go.mod h1:uoYY5M9G1nJVT8ytPIicdTUujcBXKldBw7ijWolU0yU= github.com/IBM/secret-utils-lib v1.0.2 h1:AdhKHo/bMmFLMz7+ZjnqSUHuU22CMQsG5meddvwKaV8= diff --git a/vendor/github.com/IBM/ibmcloud-volume-vpc/block/provider/expand_volume.go b/vendor/github.com/IBM/ibmcloud-volume-vpc/block/provider/expand_volume.go index c5d40a2b..56d54bca 100644 --- a/vendor/github.com/IBM/ibmcloud-volume-vpc/block/provider/expand_volume.go +++ b/vendor/github.com/IBM/ibmcloud-volume-vpc/block/provider/expand_volume.go @@ -65,7 +65,7 @@ func (vpcs *VPCSession) ExpandVolume(expandVolumeRequest provider.ExpandVolumeRe if err != nil { vpcs.Logger.Debug("Failed to expand volume from VPC provider", zap.Reflect("BackendError", err)) - return -1, userError.GetUserError("FailedToExpandVolume", err, volume.ID) + return -1, userError.GetUserError("FailedToExpandVolume", err, expandVolumeRequest.VolumeID) } vpcs.Logger.Info("Successfully accepted volume expansion request, now waiting for volume state equal to available") diff --git a/vendor/github.com/IBM/ibmcloud-volume-vpc/common/messages/messages_en.go b/vendor/github.com/IBM/ibmcloud-volume-vpc/common/messages/messages_en.go index 94842d18..a9506081 100644 --- a/vendor/github.com/IBM/ibmcloud-volume-vpc/common/messages/messages_en.go +++ b/vendor/github.com/IBM/ibmcloud-volume-vpc/common/messages/messages_en.go @@ -67,7 +67,7 @@ var messagesEn = map[string]util.Message{ }, "FailedToExpandVolume": { Code: "FailedToExpandVolume", - Description: "The volume ID '%d' could not be expanded from VPC.", + Description: "The volume ID '%s' could not be expanded from VPC.", Type: util.ExpansionFailed, RC: 500, Action: "Verify that the volume ID exists and attached to an instance. Run 'ibmcloud is volumes' to list available volumes in your account. If the ID is correct, check that expected capacity is valid and supported", diff --git a/vendor/modules.txt b/vendor/modules.txt index cccf6315..00bbcace 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -5,7 +5,7 @@ github.com/BurntSushi/toml/internal github.com/IBM-Cloud/ibm-cloud-cli-sdk/common/rest # github.com/IBM/go-sdk-core/v5 v5.9.1 github.com/IBM/go-sdk-core/v5/core -# github.com/IBM/ibm-csi-common v1.0.1-beta3 +# github.com/IBM/ibm-csi-common v1.0.1-beta4 ## explicit github.com/IBM/ibm-csi-common/pkg/ibmcloudprovider github.com/IBM/ibm-csi-common/pkg/messages @@ -25,7 +25,7 @@ github.com/IBM/ibmcloud-volume-interface/lib/utils/reasoncode github.com/IBM/ibmcloud-volume-interface/provider/auth github.com/IBM/ibmcloud-volume-interface/provider/iam github.com/IBM/ibmcloud-volume-interface/provider/local -# github.com/IBM/ibmcloud-volume-vpc v1.0.1-beta3 +# github.com/IBM/ibmcloud-volume-vpc v1.0.1-beta4 ## explicit github.com/IBM/ibmcloud-volume-vpc/block/provider github.com/IBM/ibmcloud-volume-vpc/block/utils