From 29a1a472c73ec957d02ee6067781fcc6503e1389 Mon Sep 17 00:00:00 2001 From: Scott Nichols Date: Tue, 29 Sep 2020 11:38:15 -0700 Subject: [PATCH] updating deps to knative eventing release v0.18.0 --- go.mod | 4 ++-- go.sum | 8 ++++---- hack/update-deps.sh | 6 ++---- .../pkg/apis/serving/v1alpha1/revision_validation.go | 8 ++++---- vendor/modules.txt | 4 ++-- 5 files changed, 14 insertions(+), 16 deletions(-) diff --git a/go.mod b/go.mod index c4b48f6ea..e479d4de9 100644 --- a/go.mod +++ b/go.mod @@ -13,9 +13,9 @@ require ( k8s.io/api v0.18.8 k8s.io/apimachinery v0.19.0 k8s.io/client-go v11.0.1-0.20190805182717-6502b5e7b1b5+incompatible - knative.dev/eventing v0.17.1-0.20200925222044-b313bac67b1c + knative.dev/eventing v0.18.0 knative.dev/pkg v0.0.0-20200922164940-4bf40ad82aab - knative.dev/serving v0.17.1-0.20200928165745-e46acff3aa54 + knative.dev/serving v0.18.0 knative.dev/test-infra v0.0.0-20200921012245-37f1a12adbd3 ) diff --git a/go.sum b/go.sum index ad92048ae..fa0ee4df3 100644 --- a/go.sum +++ b/go.sum @@ -1922,8 +1922,8 @@ k8s.io/utils v0.0.0-20200603063816-c1c6865ac451/go.mod h1:jPW/WVKK9YHAvNhRxK0md/ knative.dev/caching v0.0.0-20190719140829-2032732871ff/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg= knative.dev/caching v0.0.0-20200116200605-67bca2c83dfa/go.mod h1:dHXFU6CGlLlbzaWc32g80cR92iuBSpsslDNBWI8C7eg= knative.dev/caching v0.0.0-20200922173540-a6b8bbd6999a/go.mod h1:P624eQ2AZLjwPBRuSqlnkWjRYoVeGdZ/uGXPrYP/USk= -knative.dev/eventing v0.17.1-0.20200925222044-b313bac67b1c h1:ML5wvKKTEX2Btud65Dl6v+HvDTKX8lIcQCWvSBRSH2U= -knative.dev/eventing v0.17.1-0.20200925222044-b313bac67b1c/go.mod h1:Rv5V1Sk/XeG6vdEpRu+zDhEUDg2SgbkOJWRNssUyt50= +knative.dev/eventing v0.18.0 h1:DKRDpIAYZtFt959m4m9oWHnNBBH97yMP+nekrqmjOF8= +knative.dev/eventing v0.18.0/go.mod h1:Rv5V1Sk/XeG6vdEpRu+zDhEUDg2SgbkOJWRNssUyt50= knative.dev/eventing-contrib v0.6.1-0.20190723221543-5ce18048c08b/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g= knative.dev/eventing-contrib v0.6.1-0.20190723221543-5ce18048c08b/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g= knative.dev/eventing-contrib v0.6.1-0.20190723221543-5ce18048c08b/go.mod h1:SnXZgSGgMSMLNFTwTnpaOH7hXDzTFtw0J8OmHflNx3g= @@ -1941,8 +1941,8 @@ knative.dev/pkg v0.0.0-20200528142800-1c6815d7e4c9/go.mod h1:QgNZTxnwpB/oSpNcfnL knative.dev/pkg v0.0.0-20200711004937-22502028e31a/go.mod h1:AqAJV6rYi8IGikDjJ/9ZQd9qKdkXVlesVnVjwx62YB8= knative.dev/pkg v0.0.0-20200922164940-4bf40ad82aab h1:4Q+sGqdN4ecLPZnIJcLDdQArEE9oOtRYiU2J6NPCCjU= knative.dev/pkg v0.0.0-20200922164940-4bf40ad82aab/go.mod h1:MCyt5KqLaai6ENUitOgRAQsu7Gw7cAIIiXQ2IS+O0NI= -knative.dev/serving v0.17.1-0.20200928165745-e46acff3aa54 h1:aA5hcRcfo7ksuXDBsoy8ZPUgGZAfbZTGE4wmmJrYsWE= -knative.dev/serving v0.17.1-0.20200928165745-e46acff3aa54/go.mod h1:9U9j3D5yT7nPyVQFp4cnYugbqxF9LbHZVaxCOhNajFI= +knative.dev/serving v0.18.0 h1:rqZm3NNYl2aw/1cK2osFKhToqGGz6UjKOt3jbrjkvu4= +knative.dev/serving v0.18.0/go.mod h1:9U9j3D5yT7nPyVQFp4cnYugbqxF9LbHZVaxCOhNajFI= knative.dev/test-infra v0.0.0-20200407185800-1b88cb3b45a5/go.mod h1:xcdUkMJrLlBswIZqL5zCuBFOC22WIPMQoVX1L35i0vQ= knative.dev/test-infra v0.0.0-20200505052144-5ea2f705bb55/go.mod h1:WqF1Azka+FxPZ20keR2zCNtiQA1MP9ZB4BH4HuI+SIU= knative.dev/test-infra v0.0.0-20200513011557-d03429a76034/go.mod h1:aMif0KXL4g19YCYwsy4Ocjjz5xgPlseYV+B95Oo4JGE= diff --git a/hack/update-deps.sh b/hack/update-deps.sh index 6a95dde2f..786399a3d 100755 --- a/hack/update-deps.sh +++ b/hack/update-deps.sh @@ -24,14 +24,12 @@ source $(dirname $0)/../vendor/knative.dev/test-infra/scripts/library.sh cd ${REPO_ROOT_DIR} -VERSION="master" - # The list of dependencies that we track at HEAD and periodically # float forward in this repository. FLOATING_DEPS=( "knative.dev/pkg@release-0.18" - "knative.dev/eventing@${VERSION}" - "knative.dev/serving@${VERSION}" + "knative.dev/eventing@v0.18.0" + "knative.dev/serving@v0.18.0" "knative.dev/test-infra@release-0.18" ) diff --git a/vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/revision_validation.go b/vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/revision_validation.go index 6f8e9bcae..edd081e25 100644 --- a/vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/revision_validation.go +++ b/vendor/knative.dev/serving/pkg/apis/serving/v1alpha1/revision_validation.go @@ -70,17 +70,17 @@ func (rt *RevisionTemplateSpec) Validate(ctx context.Context) *apis.FieldError { // VerifyNameChange checks that if a user brought their own name previously that it // changes at the appropriate times. -func (current *RevisionTemplateSpec) VerifyNameChange(ctx context.Context, og *RevisionTemplateSpec) *apis.FieldError { - if current.Name == "" { +func (rt *RevisionTemplateSpec) VerifyNameChange(ctx context.Context, og *RevisionTemplateSpec) *apis.FieldError { + if rt.Name == "" { // We only check that Name changes when the DeprecatedRevisionTemplate changes. return nil } - if current.Name != og.Name { + if rt.Name != og.Name { // The name changed, so we're good. return nil } - if diff, err := kmp.ShortDiff(og, current); err != nil { + if diff, err := kmp.ShortDiff(og, rt); err != nil { return &apis.FieldError{ Message: "Failed to diff DeprecatedRevisionTemplate", Paths: []string{apis.CurrentField}, diff --git a/vendor/modules.txt b/vendor/modules.txt index 8019b8716..d790ec9dc 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -946,7 +946,7 @@ k8s.io/utils/buffer k8s.io/utils/integer k8s.io/utils/pointer k8s.io/utils/trace -# knative.dev/eventing v0.17.1-0.20200925222044-b313bac67b1c +# knative.dev/eventing v0.18.0 ## explicit knative.dev/eventing/pkg/adapter/v2 knative.dev/eventing/pkg/adapter/v2/test @@ -1106,7 +1106,7 @@ knative.dev/pkg/webhook/psbinding knative.dev/pkg/webhook/resourcesemantics knative.dev/pkg/webhook/resourcesemantics/defaulting knative.dev/pkg/webhook/resourcesemantics/validation -# knative.dev/serving v0.17.1-0.20200928165745-e46acff3aa54 +# knative.dev/serving v0.18.0 ## explicit knative.dev/serving/pkg/apis/autoscaling knative.dev/serving/pkg/apis/autoscaling/v1alpha1