-
Notifications
You must be signed in to change notification settings - Fork 244
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
remove abrubt os.Exit calls #5087
remove abrubt os.Exit calls #5087
Conversation
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.
Anand, the current changes lgtm, however I see a few functions where you can make similar changes, can you include them as well?
https://github.com/openshift/odo/blob/main/pkg/devfile/adapters/kubernetes/component/adapter.go#L268
https://github.com/openshift/odo/blob/main/pkg/odo/cli/component/common_push.go#L122
/test v4.8-integration-e2e |
Hey @anandrkskd, @feloy suggested that we can make the following points an issue for Hacktoberfest and I think it's a good suggestion, these issues wouldn't be completely straightforward but still good enough. If you are okay with it, I will go ahead and create the issues. |
Yeah sure @valaparthvi, make sense |
Signed-off-by: anandrkskd <[email protected]>
Signed-off-by: anandrkskd <[email protected]>
Signed-off-by: anandrkskd <[email protected]>
Signed-off-by: anandrkskd <[email protected]>
Signed-off-by: anandrkskd <[email protected]>
78d58da
to
3ad14ec
Compare
Test failed due to timeout error. Retesting |
@valaparthvi can you review this PR, I have made all the changes. |
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 are still traces of LogErrorAndExit
in https://github.com/anandrkskd/odo/blob/dev/telemetery-os-Exit-call/pkg/odo/genericclioptions/context.go, can you remove them as well?
Signed-off-by: anandrkskd <[email protected]>
Signed-off-by: anandrkskd <[email protected]>
✔️ Deploy Preview for odo-docusaurus-preview ready! 🔨 Explore the source changes: f673f55 🔍 Inspect the deploy log: https://app.netlify.com/sites/odo-docusaurus-preview/deploys/6156e37fd56b9f0007f8289d 😎 Browse the preview: https://deploy-preview-5087--odo-docusaurus-preview.netlify.app |
/test psi-kubernetes-integration-e2e |
2 similar comments
/test psi-kubernetes-integration-e2e |
/test psi-kubernetes-integration-e2e |
@valaparthvi can you |
Signed-off-by: anandrkskd <[email protected]>
@anandrkskd: The following test failed, say
Full PR test history. Your PR dashboard. 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. I understand the commands that are listed here. |
Signed-off-by: anandrkskd <[email protected]>
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: valaparthvi 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 |
Signed-off-by: anandrkskd [email protected]
What type of PR is this?
/kind bug
What does this PR do / why we need it:
Which issue(s) this PR fixes:
Fixes #4999
PR acceptance criteria:
Unit test
Integration test
Documentation
I have read the test guidelines
How to test changes / Special notes to the reviewer: