Skip to content

Commit 67ea725

Browse files
authored
Update Knative dependency for release-0.23 (#335)
1 parent a3341bf commit 67ea725

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ require (
3131
k8s.io/client-go v0.20.5
3232
k8s.io/code-generator v0.21.0
3333
k8s.io/kube-openapi v0.0.0-20210305001622-591a79e4bda7
34-
knative.dev/eventing v0.23.0
35-
knative.dev/hack v0.0.0-20210428122153-93ad9129c268
34+
knative.dev/eventing v0.23.1
35+
knative.dev/hack v0.0.0-20210602212444-509255f29a24
3636
knative.dev/pkg v0.0.0-20210510175900-4564797bf3b7
3737
knative.dev/reconciler-test v0.0.0-20210512062647-d5adf72546be
3838
)

go.sum

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,10 +1445,11 @@ k8s.io/utils v0.0.0-20200729134348-d5654de09c73/go.mod h1:jPW/WVKK9YHAvNhRxK0md/
14451445
k8s.io/utils v0.0.0-20201110183641-67b214c5f920/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
14461446
k8s.io/utils v0.0.0-20210111153108-fddb29f9d009 h1:0T5IaWHO3sJTEmCP6mUlBvMukxPKUQWqiI/YuiBNMiQ=
14471447
k8s.io/utils v0.0.0-20210111153108-fddb29f9d009/go.mod h1:jPW/WVKK9YHAvNhRxK0md/EJ228hCsBRufyofKtW8HA=
1448-
knative.dev/eventing v0.23.0 h1:0L1bVpll8kjdZNZ0FgNi4T0pPo4MmmDb6UJ06I9yHoM=
1449-
knative.dev/eventing v0.23.0/go.mod h1:vGob3H6BTseZP+/dA5ze89gM+iNHlB2Cez8FFI7A9KM=
1450-
knative.dev/hack v0.0.0-20210428122153-93ad9129c268 h1:lBIj9Epd9UQ55NEaHzAdY/UZbuaegCdGPKVC2+Z68Q0=
1448+
knative.dev/eventing v0.23.1 h1:jbf64BrAoBvyPG5HNtw21tqtNdmODJoeC0oP/x+Yfdc=
1449+
knative.dev/eventing v0.23.1/go.mod h1:vGob3H6BTseZP+/dA5ze89gM+iNHlB2Cez8FFI7A9KM=
14511450
knative.dev/hack v0.0.0-20210428122153-93ad9129c268/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
1451+
knative.dev/hack v0.0.0-20210602212444-509255f29a24 h1:eFcqwqJueFb2yY7tJVhLnDmdZCfaewfj4+MxR1CAWGo=
1452+
knative.dev/hack v0.0.0-20210602212444-509255f29a24/go.mod h1:PHt8x8yX5Z9pPquBEfIj0X66f8iWkWfR0S/sarACJrI=
14521453
knative.dev/hack/schema v0.0.0-20210428122153-93ad9129c268/go.mod h1:ffjwmdcrH5vN3mPhO8RrF2KfNnbHeCE2C60A+2cv3U0=
14531454
knative.dev/pkg v0.0.0-20210510175900-4564797bf3b7 h1:i4P8emOPrLctmbaPHp5eRIOqz+XTOkit7KgZeS+onKs=
14541455
knative.dev/pkg v0.0.0-20210510175900-4564797bf3b7/go.mod h1:fIl4l4OmZodkElyaHoT0LCF5wT+3+P/kinawQ4XlLtE=

vendor/knative.dev/eventing/pkg/adapter/v2/cloudevents.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,9 @@ func (c *client) reportMetrics(ctx context.Context, event cloudevents.Event, res
181181
var res *http.Result
182182
if !cloudevents.ResultAs(retryResult, &res) {
183183
c.reportError(reportArgs, result)
184+
} else {
185+
c.reporter.ReportRetryEventCount(reportArgs, res.StatusCode)
184186
}
185-
c.reporter.ReportRetryEventCount(reportArgs, res.StatusCode)
186187
}
187188
}
188189
}

vendor/knative.dev/hack/release.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
# This is a helper script for Knative release scripts.
1818
# See README.md for instructions on how to use it.
1919

20-
# Print commands
21-
set -x
22-
2320
source $(dirname "${BASH_SOURCE[0]}")/library.sh
2421

2522
# Organization name in GitHub; defaults to Knative.

vendor/modules.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,7 +1018,7 @@ k8s.io/utils/buffer
10181018
k8s.io/utils/integer
10191019
k8s.io/utils/pointer
10201020
k8s.io/utils/trace
1021-
# knative.dev/eventing v0.23.0
1021+
# knative.dev/eventing v0.23.1
10221022
## explicit
10231023
knative.dev/eventing/pkg/adapter/v2
10241024
knative.dev/eventing/pkg/adapter/v2/util/crstatusevent
@@ -1109,7 +1109,7 @@ knative.dev/eventing/test/test_images/event-sender
11091109
knative.dev/eventing/test/test_images/heartbeats
11101110
knative.dev/eventing/test/test_images/performance
11111111
knative.dev/eventing/test/test_images/print
1112-
# knative.dev/hack v0.0.0-20210428122153-93ad9129c268
1112+
# knative.dev/hack v0.0.0-20210602212444-509255f29a24
11131113
## explicit
11141114
knative.dev/hack
11151115
# knative.dev/pkg v0.0.0-20210510175900-4564797bf3b7

0 commit comments

Comments
 (0)