Skip to content

Commit

Permalink
updating deps to knative eventing release v0.18.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Nichols committed Sep 29, 2020
1 parent 1e1180e commit 29a1a47
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
4 changes: 2 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down
8 changes: 4 additions & 4 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -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=
Expand All @@ -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=
Expand Down
6 changes: 2 additions & 4 deletions hack/update-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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},
Expand Down
4 changes: 2 additions & 2 deletions vendor/modules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 29a1a47

Please sign in to comment.