Skip to content

Commit 46693e4

Browse files
committed
Update vendored CSI Spec to v1.2.0 and add LIST_VOLUMES_PUBLISHED_NODES capability to appropriate capabilities
1 parent 6931aed commit 46693e4

File tree

5 files changed

+803
-787
lines changed

5 files changed

+803
-787
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/kubernetes-csi/csi-test
33
go 1.12
44

55
require (
6-
github.com/container-storage-interface/spec v1.1.0
6+
github.com/container-storage-interface/spec v1.2.0
77
github.com/golang/mock v1.2.0
88
github.com/golang/protobuf v1.3.1
99
github.com/google/uuid v1.1.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
22
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
33
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
4-
github.com/container-storage-interface/spec v1.1.0 h1:qPsTqtR1VUPvMPeK0UnCZMtXaKGyyLPG8gj/wG6VqMs=
5-
github.com/container-storage-interface/spec v1.1.0/go.mod h1:6URME8mwIBbpVyZV93Ce5St17xBiQJQY67NDsuohiy4=
4+
github.com/container-storage-interface/spec v1.2.0 h1:bD9KIVgaVKKkQ/UbVUY9kCaH/CJbhNxe0eeB4JeJV2s=
5+
github.com/container-storage-interface/spec v1.2.0/go.mod h1:6URME8mwIBbpVyZV93Ce5St17xBiQJQY67NDsuohiy4=
66
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
77
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
88
github.com/fsnotify/fsnotify v1.4.7 h1:IXs+QLmnXW2CcXuY+8Mzv/fWEsPGWxqefPtCP5CnV9I=

pkg/sanity/controller.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,7 @@ var _ = DescribeSanity("Controller Service [Controller Server]", func(sc *Sanity
139139
case csi.ControllerServiceCapability_RPC_PUBLISH_READONLY:
140140
case csi.ControllerServiceCapability_RPC_CLONE_VOLUME:
141141
case csi.ControllerServiceCapability_RPC_EXPAND_VOLUME:
142+
case csi.ControllerServiceCapability_RPC_LIST_VOLUMES_PUBLISHED_NODES:
142143
default:
143144
Fail(fmt.Sprintf("Unknown capability: %v\n", cap.GetRpc().GetType()))
144145
}

0 commit comments

Comments
 (0)