Skip to content

Commit 76c0de5

Browse files
authored
Merge pull request #290 from andyzhangx/csi-1.3.0
chore: upgrade to csi 1.3.0
2 parents a566729 + 28e6b32 commit 76c0de5

File tree

5 files changed

+1209
-806
lines changed

5 files changed

+1209
-806
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require (
66
github.com/Azure/azure-sdk-for-go v43.0.0+incompatible
77
github.com/Azure/go-autorest/autorest v0.11.1
88
github.com/Azure/go-autorest/autorest/adal v0.9.5
9-
github.com/container-storage-interface/spec v1.2.0
9+
github.com/container-storage-interface/spec v1.3.0
1010
github.com/golang/mock v1.3.1
1111
github.com/golang/protobuf v1.3.2
1212
github.com/kubernetes-csi/csi-lib-utils v0.7.0
@@ -29,7 +29,7 @@ require (
2929
)
3030

3131
replace (
32-
github.com/container-storage-interface/spec => github.com/container-storage-interface/spec v1.1.0
32+
github.com/container-storage-interface/spec => github.com/container-storage-interface/spec v1.3.0
3333
github.com/prometheus/client_golang => github.com/prometheus/client_golang v1.0.0
3434
go.etcd.io/etcd => go.etcd.io/etcd v0.0.0-20200410171415-59f5fb25a533
3535
google.golang.org/grpc => google.golang.org/grpc v1.27.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ github.com/clusterhq/flocker-go v0.0.0-20160920122132-2b8b7259d313/go.mod h1:P1w
108108
github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa h1:OaNxuTZr7kxeODyLWsRMC+OD03aFUH+mW6r2d+MWa5Y=
109109
github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod h1:zn76sxSg3SzpJ0PPJaLDCu+Bu0Lg3sKTORVIj19EIF8=
110110
github.com/codegangsta/negroni v1.0.0/go.mod h1:v0y3T5G7Y1UlFfyxFn/QLRU4a2EuNau2iZY63YTKWo0=
111-
github.com/container-storage-interface/spec v1.1.0 h1:qPsTqtR1VUPvMPeK0UnCZMtXaKGyyLPG8gj/wG6VqMs=
112-
github.com/container-storage-interface/spec v1.1.0/go.mod h1:6URME8mwIBbpVyZV93Ce5St17xBiQJQY67NDsuohiy4=
111+
github.com/container-storage-interface/spec v1.3.0 h1:wMH4UIoWnK/TXYw8mbcIHgZmB6kHOeIsYsiaTJwa6bc=
112+
github.com/container-storage-interface/spec v1.3.0/go.mod h1:6URME8mwIBbpVyZV93Ce5St17xBiQJQY67NDsuohiy4=
113113
github.com/containerd/console v0.0.0-20170925154832-84eeaae905fa/go.mod h1:Tj/on1eG8kiEhd0+fhSDzsPAFESxzBBvdyEgyryXffw=
114114
github.com/containerd/containerd v1.0.2/go.mod h1:bC6axHOhabU15QhwfG7w5PipXdVtMXFTttgp+kVtyUA=
115115
github.com/containerd/typeurl v0.0.0-20190228175220-2a93cfde8c20/go.mod h1:Cm3kwCdlkCfMSHURc+r6fwoGH6/F1hH3S4sg0rLFWPc=

pkg/blob/controllerserver.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,11 @@ func (d *Driver) ListVolumes(ctx context.Context, req *csi.ListVolumesRequest) (
326326
return nil, status.Error(codes.Unimplemented, "")
327327
}
328328

329+
// ControllerGetVolume get volume
330+
func (d *Driver) ControllerGetVolume(context.Context, *csi.ControllerGetVolumeRequest) (*csi.ControllerGetVolumeResponse, error) {
331+
return nil, status.Error(codes.Unimplemented, "")
332+
}
333+
329334
// ControllerPublishVolume make a volume available on some required node
330335
// N/A for blob driver
331336
func (d *Driver) ControllerPublishVolume(ctx context.Context, req *csi.ControllerPublishVolumeRequest) (*csi.ControllerPublishVolumeResponse, error) {

0 commit comments

Comments
 (0)