-
Notifications
You must be signed in to change notification settings - Fork 263
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
Corrected version for kn create kafka channel #1886
Conversation
Welcome @MeenuyD! It looks like this is your first PR to knative/client 🎉 |
Hi @MeenuyD. Thanks for your PR. I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Thanks! /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: MeenuyD, rhuss 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 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1886 +/- ##
=======================================
Coverage 79.20% 79.20%
=======================================
Files 180 180
Lines 14075 14075
=======================================
Hits 11148 11148
Misses 2155 2155
Partials 772 772 ☔ View full report in Codecov by Sentry. |
/retest-required |
2 similar comments
/retest-required |
/retest-required |
It looks like that the .md file have been updated manually but some has been missed. Please call |
(you can see this also in the logs of the failing test) |
@MeenuyD can you pls run |
/retest |
/ok-to-test |
Ahh I see, look at sources for https://github.com/knative/client/blob/main/pkg/kn/commands/channel/create.go#L45 |
@MeenuyD Also one more minor thing, could you modify the PR description to add the keyword "Fixes # FYI, here is the doc for GitHub on how to use the "Fixes" keyword. |
@@ -26,7 +26,6 @@ import ( | |||
"knative.dev/client/pkg/kn/commands" | |||
"knative.dev/client/pkg/kn/commands/flags" | |||
knflags "knative.dev/client/pkg/kn/flags" | |||
knmessagingv1 "knative.dev/client/pkg/messaging/v1" |
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.
removing this line seems to break the tests.
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.
Should i remove this line
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.
No, it's used here:
sb := knmessagingv1.NewSubscriptionBuilder(name) |
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.
Only the example message needs to be changed in the source. Imports should be untouched, i.e. not needed to be changed at all.
@MeenuyD I've fixed the nit preventing the build to pass. I hope you don't mind. Thanks for contribution! /lgtm |
Corrected version for kn create Kafka channel to v1beta1
Fixes #1885
Release Note