Closed albfan closed 1 month ago
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: Once this PR has been reviewed and has the lgtm label, please assign cfergeau for approval. For more information see the Kubernetes Code Review Process.
The full list of commands accepted by this bot can be found here.
Check https://github.com/praveenkumar/crc/commit/1efb9fa52cf85a56246e5489fc21851715464d91 one I think it would be more clear and we don't have to pass the process pid to helper function.
Many thanks for review Praveen.
Just to avoid go into further check, I added a default result to identify non detected shell
Looks like CI is failing because of fmt
error run make fmt
.
@albfan: The following tests failed, say /retest
to rerun all failed tests or /retest-required
to rerun all mandatory failed tests:
Test name | Commit | Details | Required | Rerun command |
---|---|---|---|---|
ci/prow/integration-crc | 8c303664eecae6412d5dab633a997d5665af42d1 | link | true | /test integration-crc |
ci/prow/e2e-crc | 8c303664eecae6412d5dab633a997d5665af42d1 | link | true | /test e2e-crc |
Full PR test history. Your PR dashboard.
@praveenkumar should be fixed now. I find with goimports but not sure where CI show that error
Fixes: Issue #3582
Solution/Idea
$env:SHELL
not empty is not definitive to detect shell terminalProposed changes
Reuse our logic to detect powershell if current result is not definitive.
Testing
Use
crc oc-env
under ssh on windowsfixes #3582