From 371a598fe943247f55236954c7408dccc1780f2e Mon Sep 17 00:00:00 2001 From: Rustem Bekmukhametov Date: Tue, 21 Jul 2020 22:42:51 +0000 Subject: [PATCH] Issue #1494: Release-0.16 branch vendors an outdated Knative Eventing 0.15 dependency --- go.mod | 2 +- go.sum | 4 ++-- .../knative.dev/eventing/test/lib/duck/resource_inspectors.go | 3 +++ vendor/modules.txt | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index a8aa6aedd0..42042da1ab 100644 --- a/go.mod +++ b/go.mod @@ -31,7 +31,7 @@ require ( k8s.io/api v0.18.1 k8s.io/apimachinery v0.18.1 k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible - knative.dev/eventing v0.15.1-0.20200707170044-e018fe794753 + knative.dev/eventing v0.16.1 knative.dev/pkg v0.0.0-20200702222342-ea4d6e985ba0 knative.dev/serving v0.16.0 sigs.k8s.io/yaml v1.2.0 diff --git a/go.sum b/go.sum index 5d07955152..6d2bf9486d 100644 --- a/go.sum +++ b/go.sum @@ -1432,8 +1432,8 @@ k8s.io/utils v0.0.0-20200124190032-861946025e34 h1:HjlUD6M0K3P8nRXmr2B9o4F9dUy9T k8s.io/utils v0.0.0-20200124190032-861946025e34/go.mod h1:sZAwmy6armz5eXlNoLmJcl4F1QuKu7sr+mFQ0byX7Ew= knative.dev/caching v0.0.0-20200116200605-67bca2c83dfa/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg= knative.dev/caching v0.0.0-20200630172829-a78409990d76/go.mod h1:iyrTBBqVs1H+bmj+mqyGEgNiLBzuGsY1LslIayGy0OE= -knative.dev/eventing v0.15.1-0.20200707170044-e018fe794753 h1:GvVrLC0yzL4Nn3hZJKN6qZK8AxopU4PWM6h14u8NZcU= -knative.dev/eventing v0.15.1-0.20200707170044-e018fe794753/go.mod h1:jU8gg/VL4ZBDkAlqTPaBMnoC1Vrw/2ue1n4vc19EN5k= +knative.dev/eventing v0.16.1 h1:JlVNnp8NQRiVufbgl3FcSuq2E/hJsTFWTek85rF9S+I= +knative.dev/eventing v0.16.1/go.mod h1:jU8gg/VL4ZBDkAlqTPaBMnoC1Vrw/2ue1n4vc19EN5k= knative.dev/eventing-contrib v0.11.2/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g= knative.dev/networking v0.0.0-20200630191330-5080f859c17d h1:/U/lrkoEsrnDc3LHpaKHhy0uRVXpxOpH8eGVdDltsLE= knative.dev/networking v0.0.0-20200630191330-5080f859c17d/go.mod h1:76Bt5r+xMgNrjwIjSvCvuQwbYG23cTFDIDrxU1ECA54= diff --git a/vendor/knative.dev/eventing/test/lib/duck/resource_inspectors.go b/vendor/knative.dev/eventing/test/lib/duck/resource_inspectors.go index 6df11cd6d5..392b8a12b0 100644 --- a/vendor/knative.dev/eventing/test/lib/duck/resource_inspectors.go +++ b/vendor/knative.dev/eventing/test/lib/duck/resource_inspectors.go @@ -39,6 +39,9 @@ func GetAddressableURI(dynamicClient dynamic.Interface, obj *resources.MetaResou at := untyped.(*duckv1alpha1.AddressableType) + if at.Status.Address == nil { + return url.URL{}, fmt.Errorf("addressable does not have an Address: %+v", at) + } au := at.Status.Address.GetURL() if au.Host == "" { return url.URL{}, fmt.Errorf("addressable's URL does not have a Host: %+v", at) diff --git a/vendor/modules.txt b/vendor/modules.txt index 025f1bdd45..8cb0648ebf 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -996,7 +996,7 @@ k8s.io/utils/buffer k8s.io/utils/integer k8s.io/utils/pointer k8s.io/utils/trace -# knative.dev/eventing v0.15.1-0.20200707170044-e018fe794753 +# knative.dev/eventing v0.16.1 ## explicit knative.dev/eventing/pkg/apis/config knative.dev/eventing/pkg/apis/configs