From 1f145af3e7354f5a209e50a86fc1466188554410 Mon Sep 17 00:00:00 2001 From: Roman Bednar Date: Fri, 6 Jan 2023 13:18:22 +0100 Subject: [PATCH] update to latest ibm-csi-common --- go.mod | 4 ++-- go.sum | 4 ++-- .../IBM/ibm-csi-common/pkg/mountmanager/fake-safe-mounter.go | 2 +- .../IBM/ibm-csi-common/pkg/mountmanager/mount_linux.go | 2 +- .../IBM/ibm-csi-common/pkg/mountmanager/mount_unsupported.go | 4 ++-- vendor/modules.txt | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/go.mod b/go.mod index cc18e525..206f1d60 100644 --- a/go.mod +++ b/go.mod @@ -3,7 +3,7 @@ module github.com/kubernetes-sigs/ibm-vpc-block-csi-driver go 1.18 require ( - github.com/IBM/ibm-csi-common v1.1.2 + github.com/IBM/ibm-csi-common v1.1.3 github.com/IBM/ibmcloud-volume-interface v1.1.1 github.com/IBM/ibmcloud-volume-vpc v1.1.2 github.com/container-storage-interface/spec v1.6.0 @@ -19,6 +19,7 @@ require ( google.golang.org/protobuf v1.28.1 k8s.io/kubernetes v1.25.4 k8s.io/mount-utils v0.25.4 + k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed ) require ( @@ -102,7 +103,6 @@ require ( k8s.io/component-base v0.25.4 // indirect k8s.io/klog/v2 v2.70.1 // indirect k8s.io/kube-openapi v0.0.0-20220803162953-67bda5d908f1 // indirect - k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed // indirect sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 // indirect sigs.k8s.io/structured-merge-diff/v4 v4.2.3 // indirect sigs.k8s.io/yaml v1.2.0 // indirect diff --git a/go.sum b/go.sum index b797df3b..65f617b3 100644 --- a/go.sum +++ b/go.sum @@ -39,8 +39,8 @@ 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.1.2 h1:g74+5uIaKZnZ3aIJyBZkpA2///wsG0fyDCJB8AQJW0Q= -github.com/IBM/ibm-csi-common v1.1.2/go.mod h1:5Ld7WgeLVO8uLoQtqGZhJgHQyCqwUEv1fBq1YpwIqQ0= +github.com/IBM/ibm-csi-common v1.1.3 h1:03vsgi46mFWcp66D2+DR6bkXyBKK/9TbYhm8Qyvrx7s= +github.com/IBM/ibm-csi-common v1.1.3/go.mod h1:5Ld7WgeLVO8uLoQtqGZhJgHQyCqwUEv1fBq1YpwIqQ0= github.com/IBM/ibmcloud-volume-interface v1.1.1 h1:RlwEj8bq+aASdb90Lng4rINMYR96/G6yUvyk/ATmptA= github.com/IBM/ibmcloud-volume-interface v1.1.1/go.mod h1:coaQ/FD5NRgFfaAnjkoxv+e6MNSl2UAeQwC38szQ5G8= github.com/IBM/ibmcloud-volume-vpc v1.1.2 h1:LbgRC/CQRptt6+lfg6k/LL2W2GyDNrxirzJXZtDY9ik= diff --git a/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/fake-safe-mounter.go b/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/fake-safe-mounter.go index bd8fd92f..cb8af187 100644 --- a/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/fake-safe-mounter.go +++ b/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/fake-safe-mounter.go @@ -76,7 +76,7 @@ func (f *FakeNodeMounter) PathExists(pathname string) (bool, error) { return false, nil } -// NewSafeFormatAndMount ... +// GetSafeFormatAndMount returns the existing SafeFormatAndMount object of NodeMounter. func (f *FakeNodeMounter) GetSafeFormatAndMount() *mount.SafeFormatAndMount { return f.SafeFormatAndMount } diff --git a/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/mount_linux.go b/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/mount_linux.go index d344618d..2fa01fe8 100644 --- a/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/mount_linux.go +++ b/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/mount_linux.go @@ -56,7 +56,7 @@ func (m *NodeMounter) PathExists(path string) (bool, error) { return mount.PathExists(path) } -// NewSafeFormatAndMount returns the new object of SafeFormatAndMount. +// GetSafeFormatAndMount returns the existing SafeFormatAndMount object of NodeMounter. func (m *NodeMounter) GetSafeFormatAndMount() *mount.SafeFormatAndMount { return m.SafeFormatAndMount } diff --git a/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/mount_unsupported.go b/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/mount_unsupported.go index b4d5dbfe..87c35c54 100644 --- a/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/mount_unsupported.go +++ b/vendor/github.com/IBM/ibm-csi-common/pkg/mountmanager/mount_unsupported.go @@ -43,8 +43,8 @@ func (m *NodeMounter) PathExists(pathname string) (bool, error) { return true, errors.New("not implemented") } -// NewSafeFormatAndMount ... -func (m *NodeMounter) NewSafeFormatAndMount() *mount.SafeFormatAndMount { +// GetSafeFormatAndMount returns the existing SafeFormatAndMount object of NodeMounter. +func (m *NodeMounter) GetSafeFormatAndMount() *mount.SafeFormatAndMount { return nil } diff --git a/vendor/modules.txt b/vendor/modules.txt index 01dc05f2..75d4f221 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -8,7 +8,7 @@ github.com/IBM-Cloud/ibm-cloud-cli-sdk/common/rest # github.com/IBM/go-sdk-core/v5 v5.9.1 ## explicit; go 1.14 github.com/IBM/go-sdk-core/v5/core -# github.com/IBM/ibm-csi-common v1.1.2 +# github.com/IBM/ibm-csi-common v1.1.3 ## explicit; go 1.18 github.com/IBM/ibm-csi-common/pkg/ibmcloudprovider github.com/IBM/ibm-csi-common/pkg/messages