-
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
Fix odo create
interactive mode
#3437
Fix odo create
interactive mode
#3437
Conversation
Signed-off-by: John Collier <John.J.Collier@ibm.com>
Signed-off-by: John Collier <John.J.Collier@ibm.com>
/hold cause this directly conflicts with @maysunfaisal's command group PR #3291 |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Good catch, I can review and approve this once #3291 merges in. |
@johnmcollier: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. |
@johnmcollier this is actually getting fixed with #3291 |
@maysunfaisal Ah, good catch. But, interactive mode is broken on your PR it seems: |
@maysunfaisal I've updated the PR description for #3291 to include #3436 as a fixed issue. |
@johnmcollier yeah I should have opened issues earlier to keep track. There was one more issue with interactive mode that I am forgetting but its fixed by #3291 |
Signed-off-by: John Collier John.J.Collier@ibm.com
What type of PR is this?
/kind bug
What does does this PR do / why we need it:
This PR fixes interactive mode for devfiles. It seems a recent change that was delivered used a short assignment operator (:=) to assign a value to the
catalogDevfileList
variable, which caused a local-scoped version of it to get created in the if-block. This meant the value ofcatalogDevfileList
couldn't be seen outside of the if-statement (despite the variable being declared outside it)Which issue(s) this PR fixes:
Fixes #3436
How to test changes / Special notes to the reviewer:
odo create