Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: updates for Go 1.22 #328

Merged
merged 2 commits into from Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion internal/kokoro/vet.sh
Expand Up @@ -6,7 +6,7 @@ set -eo
# Display commands being run
set -x

if [[ $(go version) != *"go1.20"* ]]; then
if [[ $(go version) != *"go1.22"* ]]; then
exit 0
fi

Expand Down
2 changes: 1 addition & 1 deletion v2/callctx/callctx_test.go
Expand Up @@ -94,7 +94,7 @@ func TestSetHeaders_race(t *testing.T) {
key := "key"
value := "value"
want := map[string][]string{
key: []string{value, value},
key: {value, value},
}

// Init the ctx so a value already exists to be "shared".
Expand Down