-
Notifications
You must be signed in to change notification settings - Fork 604
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V1B3 bump of Event Type #7304
V1B3 bump of Event Type #7304
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: matzew The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
// +optional | ||
Source *apis.URL `json:"source,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// +optional | |
Source *apis.URL `json:"source,omitempty"` | |
Source *apis.URL `json:"source"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From #7314 we should mark this as non-optional
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this will go away anyways in this version. the source will be required to be inside the map (see #7265)
b5669d4
to
40a3066
Compare
Signed-off-by: Matthias Wessendorf <[email protected]>
Signed-off-by: Matthias Wessendorf <[email protected]>
40a3066
to
9343f8c
Compare
@matzew FYI I've fixed a few nits that failed unit tests & rebased to current HEAD. 🤞 |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #7304 +/- ##
==========================================
+ Coverage 76.68% 76.70% +0.02%
==========================================
Files 253 259 +6
Lines 14182 14254 +72
==========================================
+ Hits 10875 10934 +59
- Misses 2754 2765 +11
- Partials 553 555 +2 ☔ View full report in Codecov by Sentry. |
@@ -25,10 +25,10 @@ import ( | |||
|
|||
// ConvertTo implements apis.Convertible | |||
func (source *EventType) ConvertTo(ctx context.Context, to apis.Convertible) error { | |||
return fmt.Errorf("v1beta2 is the highest known version, got: %T", to) | |||
return fmt.Errorf("v1beta3 is the highest known version, got: %T", to) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
copy pasta 🍝
thx!
@@ -1,5 +1,5 @@ | |||
/* | |||
Copyright 2021 The Knative Authors | |||
Copyright 2023 The Knative Authors |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's fair 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a bad formatting in one of the files. So I rather updated all with proper year as well. :)
/lgtm |
Fixes #
Proposed Changes
Pre-review Checklist
Release Note
Docs