Skip to content

Commit a9c4f7f

Browse files
committed
chore: update CSI spec to v1.10.0
1 parent c83fa4e commit a9c4f7f

File tree

8 files changed

+8500
-4377
lines changed

8 files changed

+8500
-4377
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-driver-nfs
33
go 1.23.1
44

55
require (
6-
github.com/container-storage-interface/spec v1.8.0
6+
github.com/container-storage-interface/spec v1.11.0
77
github.com/kubernetes-csi/csi-lib-utils v0.9.0
88
github.com/onsi/ginkgo/v2 v2.21.0
99
github.com/onsi/gomega v1.35.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGX
8585
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78 h1:QVw89YDxXxEe+l8gU8ETbOasdwEV+avkR75ZzsVV9WI=
8686
github.com/cncf/xds/go v0.0.0-20240905190251-b4127c9b8d78/go.mod h1:W+zGtBO5Y1IgJhy4+A9GOqVhqLpfZi+vwmdNXUehLA8=
8787
github.com/container-storage-interface/spec v1.2.0/go.mod h1:6URME8mwIBbpVyZV93Ce5St17xBiQJQY67NDsuohiy4=
88-
github.com/container-storage-interface/spec v1.8.0 h1:D0vhF3PLIZwlwZEf2eNbpujGCNwspwTYf2idJRJx4xI=
89-
github.com/container-storage-interface/spec v1.8.0/go.mod h1:ROLik+GhPslwwWRNFF1KasPzroNARibH2rfz1rkg4H0=
88+
github.com/container-storage-interface/spec v1.11.0 h1:H/YKTOeUZwHtyPOr9raR+HgFmGluGCklulxDYxSdVNM=
89+
github.com/container-storage-interface/spec v1.11.0/go.mod h1:DtUvaQszPml1YJfIK7c00mlv6/g4wNMLanLgiUbKFRI=
9090
github.com/coreos/go-semver v0.3.1 h1:yi21YpKnrx1gt5R+la8n5WgS0kCrsPp33dmEyHReZr4=
9191
github.com/coreos/go-semver v0.3.1/go.mod h1:irMmmIw/7yzSRPWryHsK7EYSg09caPQL03VsM8rvUec=
9292
github.com/coreos/go-systemd/v22 v22.5.0 h1:RrqgGjYQKalulkV8NGVIfkXQf6YYmOyiJKk8iXXhfZs=

pkg/nfs/identityserver_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ func TestProbe(t *testing.T) {
7373
resp, err := fakeIdentityServer.Probe(context.Background(), &req)
7474
assert.NoError(t, err)
7575
assert.NotNil(t, resp)
76-
assert.Equal(t, resp.XXX_sizecache, int32(0))
7776
assert.Equal(t, resp.Ready.Value, true)
7877
}
7978

@@ -96,7 +95,6 @@ func TestGetPluginCapabilities(t *testing.T) {
9695
resp, err := fakeIdentityServer.GetPluginCapabilities(context.Background(), &req)
9796
assert.NoError(t, err)
9897
assert.NotNil(t, resp)
99-
assert.Equal(t, resp.XXX_sizecache, int32(0))
10098
assert.Equal(t, resp.Capabilities, expectedCap)
10199

102100
}

pkg/nfs/nfs_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,6 @@ func TestNewControllerServiceCapability(t *testing.T) {
154154
for _, test := range tests {
155155
resp := NewControllerServiceCapability(test.cap)
156156
assert.NotNil(t, resp)
157-
assert.Equal(t, resp.XXX_sizecache, int32(0))
158157
}
159158
}
160159

@@ -178,7 +177,6 @@ func TestNewNodeServiceCapability(t *testing.T) {
178177
for _, test := range tests {
179178
resp := NewNodeServiceCapability(test.cap)
180179
assert.NotNil(t, resp)
181-
assert.Equal(t, resp.XXX_sizecache, int32(0))
182180
}
183181
}
184182

0 commit comments

Comments
 (0)