Skip to content

Commit c4806a8

Browse files
upgrade to latest dependencies (#1001)
bumping knative.dev/networking fcbfa31...58f3e62: > 58f3e62 Fix lint error due to deprecated grpc.WithInsecure (# 720) Signed-off-by: Knative Automation <automation@knative.team> Signed-off-by: Knative Automation <automation@knative.team>
1 parent 8bdb91c commit c4806a8

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ require (
1414
k8s.io/apimachinery v0.25.2
1515
k8s.io/client-go v0.25.2
1616
knative.dev/hack v0.0.0-20221010154335-3fdc50b9c24a
17-
knative.dev/networking v0.0.0-20221007151732-fcbfa31ac035
17+
knative.dev/networking v0.0.0-20221012062251-58f3e6239b4f
1818
knative.dev/pkg v0.0.0-20221011175852-714b7630a836
1919
)
2020

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,8 +945,8 @@ k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed h1:jAne/RjBTyawwAy0utX5eqigAwz/l
945945
k8s.io/utils v0.0.0-20220728103510-ee6ede2d64ed/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
946946
knative.dev/hack v0.0.0-20221010154335-3fdc50b9c24a h1:yfq1OMrkyYkxDeM0pmAOeN4YF16R/WG0C+VvLBeq4uc=
947947
knative.dev/hack v0.0.0-20221010154335-3fdc50b9c24a/go.mod h1:yk2OjGDsbEnQjfxdm0/HJKS2WqTLEFg/N6nUs6Rqx3Q=
948-
knative.dev/networking v0.0.0-20221007151732-fcbfa31ac035 h1:OOw/KMAKITv3godQbwzT617mjJGYiNuRQxPGpjqwHkE=
949-
knative.dev/networking v0.0.0-20221007151732-fcbfa31ac035/go.mod h1:ySkvDWiPZ0QD6H5GlYxOgUI782Fv2vLkyQRXCr4wkrQ=
948+
knative.dev/networking v0.0.0-20221012062251-58f3e6239b4f h1:e/08+ofUjGjSYV2Usvb22IbkX4MjoiywbRtnXUK3FQY=
949+
knative.dev/networking v0.0.0-20221012062251-58f3e6239b4f/go.mod h1:GciicKYf4aWE138pT2ZKkZ/E10rd0Kt4ziX52A/HnVY=
950950
knative.dev/pkg v0.0.0-20221011175852-714b7630a836 h1:0N7Zo/O+xeUUebJPm9keBaGclrUoEbljr3J1MsqtaIM=
951951
knative.dev/pkg v0.0.0-20221011175852-714b7630a836/go.mod h1:DMTRDJ5WRxf/DrlOPzohzfhSuJggscLZ8EavOq9O/x8=
952952
rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=

vendor/knative.dev/networking/test/conformance/ingress/grpc.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ import (
2727

2828
"github.com/google/go-cmp/cmp"
2929
"google.golang.org/grpc"
30+
"google.golang.org/grpc/credentials/insecure"
3031
"k8s.io/apimachinery/pkg/util/intstr"
3132
"k8s.io/apimachinery/pkg/util/sets"
3233
"knative.dev/networking/pkg/apis/networking/v1alpha1"
@@ -65,7 +66,7 @@ func TestGRPC(t *testing.T) {
6566

6667
conn, err := grpc.Dial(
6768
domain+":80",
68-
grpc.WithInsecure(),
69+
grpc.WithTransportCredentials(insecure.NewCredentials()),
6970
grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
7071
return dialCtx(ctx, "unused", addr)
7172
}),
@@ -134,7 +135,7 @@ func TestGRPCSplit(t *testing.T) {
134135

135136
conn, err := grpc.Dial(
136137
domain+":80",
137-
grpc.WithInsecure(),
138+
grpc.WithTransportCredentials(insecure.NewCredentials()),
138139
grpc.WithContextDialer(func(ctx context.Context, addr string) (net.Conn, error) {
139140
return dialCtx(ctx, "unused", addr)
140141
}),

vendor/modules.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -908,7 +908,7 @@ k8s.io/utils/trace
908908
# knative.dev/hack v0.0.0-20221010154335-3fdc50b9c24a
909909
## explicit; go 1.18
910910
knative.dev/hack
911-
# knative.dev/networking v0.0.0-20221007151732-fcbfa31ac035
911+
# knative.dev/networking v0.0.0-20221012062251-58f3e6239b4f
912912
## explicit; go 1.18
913913
knative.dev/networking/config
914914
knative.dev/networking/pkg

0 commit comments

Comments
 (0)