Skip to content

Commit ee56d77

Browse files
authored
Merge pull request #159 from msau42/release-0.14
Manual cherry pick of #153: Bump google.golang.org/grpc to 1.59.0
2 parents 7b2b0d3 + aa00e3e commit ee56d77

File tree

278 files changed

+24859
-5692
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

278 files changed

+24859
-5692
lines changed

connection/connection.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,16 @@ func connect(
115115
}
116116

117117
dialOptions = append(dialOptions,
118-
grpc.WithInsecure(), // Don't use TLS, it's usually local Unix domain socket in a container.
119-
grpc.WithBackoffMaxDelay(time.Second), // Retry every second after failure.
120-
grpc.WithBlock(), // Block until connection succeeds.
118+
grpc.WithInsecure(), // Don't use TLS, it's usually local Unix domain socket in a container.
119+
grpc.WithBackoffMaxDelay(time.Second), // Retry every second after failure.
120+
grpc.WithBlock(), // Block until connection succeeds.
121+
grpc.WithIdleTimeout(time.Duration(0)), // Never close connection because of inactivity.
121122
grpc.WithChainUnaryInterceptor(
122123
LogGRPC, // Log all messages.
123124
ExtendedCSIMetricsManager{metricsManager}.RecordMetricsClientInterceptor, // Record metrics for each gRPC call.
124125
),
125126
)
127+
126128
unixPrefix := "unix://"
127129
if strings.HasPrefix(address, "/") {
128130
// It looks like filesystem path.

go.mod

+10-10
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ require (
66
github.com/container-storage-interface/spec v1.8.0
77
github.com/golang/protobuf v1.5.3
88
github.com/stretchr/testify v1.8.1
9-
golang.org/x/net v0.8.0
10-
google.golang.org/grpc v1.51.0
9+
golang.org/x/net v0.14.0
10+
google.golang.org/grpc v1.59.0
1111
k8s.io/api v0.27.0
1212
k8s.io/client-go v0.27.0
1313
k8s.io/component-base v0.26.0
@@ -17,7 +17,7 @@ require (
1717
require (
1818
github.com/beorn7/perks v1.0.1 // indirect
1919
github.com/blang/semver/v4 v4.0.0 // indirect
20-
github.com/cespare/xxhash/v2 v2.1.2 // indirect
20+
github.com/cespare/xxhash/v2 v2.2.0 // indirect
2121
github.com/davecgh/go-spew v1.1.1 // indirect
2222
github.com/emicklei/go-restful/v3 v3.9.0 // indirect
2323
github.com/go-logr/logr v1.2.3 // indirect
@@ -29,7 +29,7 @@ require (
2929
github.com/google/gnostic v0.5.7-v3refs // indirect
3030
github.com/google/go-cmp v0.5.9 // indirect
3131
github.com/google/gofuzz v1.1.0 // indirect
32-
github.com/google/uuid v1.3.0 // indirect
32+
github.com/google/uuid v1.3.1 // indirect
3333
github.com/josharian/intern v1.0.0 // indirect
3434
github.com/json-iterator/go v1.1.12 // indirect
3535
github.com/mailru/easyjson v0.7.7 // indirect
@@ -43,14 +43,14 @@ require (
4343
github.com/prometheus/common v0.37.0 // indirect
4444
github.com/prometheus/procfs v0.8.0 // indirect
4545
github.com/spf13/pflag v1.0.5 // indirect
46-
golang.org/x/oauth2 v0.0.0-20220223155221-ee480838109b // indirect
47-
golang.org/x/sys v0.6.0 // indirect
48-
golang.org/x/term v0.6.0 // indirect
49-
golang.org/x/text v0.8.0 // indirect
46+
golang.org/x/oauth2 v0.11.0 // indirect
47+
golang.org/x/sys v0.11.0 // indirect
48+
golang.org/x/term v0.11.0 // indirect
49+
golang.org/x/text v0.12.0 // indirect
5050
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
5151
google.golang.org/appengine v1.6.7 // indirect
52-
google.golang.org/genproto v0.0.0-20220502173005-c8bf987b8c21 // indirect
53-
google.golang.org/protobuf v1.28.1 // indirect
52+
google.golang.org/genproto/googleapis/rpc v0.0.0-20230822172742-b8732ec3820d // indirect
53+
google.golang.org/protobuf v1.31.0 // indirect
5454
gopkg.in/inf.v0 v0.9.1 // indirect
5555
gopkg.in/yaml.v2 v2.4.0 // indirect
5656
gopkg.in/yaml.v3 v3.0.1 // indirect

go.sum

+20-45
Large diffs are not rendered by default.

vendor/github.com/cespare/xxhash/v2/README.md

+17-14
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/cespare/xxhash/v2/testall.sh

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/cespare/xxhash/v2/xxhash.go

+20-27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)