-
Notifications
You must be signed in to change notification settings - Fork 243
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
Make 'pkg/logs' platform-agnostic #6251
Make 'pkg/logs' platform-agnostic #6251
Conversation
✅ Deploy Preview for odo-docusaurus-preview canceled.
|
c002bcd
to
66089d3
Compare
c1194cc
to
d329cb7
Compare
/test v4.11-integration-e2e |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feloy 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 |
This will make the error more visible, instead of hiding it.
Co-authored-by: Philippe Martin <phmartin@redhat.com>
Co-authored-by: Philippe Martin <phmartin@redhat.com>
…rm.Client' Co-authored-by: Philippe Martin <phmartin@redhat.com>
… 'pkg/kclient' Those tests are specific to the Kubernetes implementation.
d329cb7
to
df748a3
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Had to rebase and force-push to benefit from #6260; otherwise tests would not pass. |
/lgtm |
/test ci/prow/v4.11-integration-e2e |
@feloy: The specified target(s) for
Use In response to this:
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. |
/test v4.11-integration-e2e |
What type of PR is this:
/kind task
/kind code-refactoring
What does this PR do / why we need it:
This PR is the outcome of a pair-programming session with @feloy; it makes the
pkg/logs
package agnostic of the platform,similar to what was done in #6217.
Similarly, the platform is injected by the dependency injection system, depending on the
--run-on
flag.Which issue(s) this PR fixes:
Fixes #6250
PR acceptance criteria:
Unit test
Integration test
Documentation
How to test changes / Special notes to the reviewer:
odo
(and specificallyodo logs
) should work like before :-)