Skip to content
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

Stop downloading odo/oc when cluster is down #406

Merged
merged 6 commits into from
Nov 28, 2018

Conversation

dgolovin
Copy link
Collaborator

fix #386.

@codecov
Copy link

codecov bot commented Nov 27, 2018

Codecov Report

Merging #406 into master will decrease coverage by 0.14%.
The diff coverage is 77.77%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #406      +/-   ##
==========================================
- Coverage   69.87%   69.72%   -0.15%     
==========================================
  Files          20       20              
  Lines         853      849       -4     
  Branches      135      133       -2     
==========================================
- Hits          596      592       -4     
  Misses        257      257
Impacted Files Coverage Δ
src/cli.ts 40.74% <0%> (+5.25%) ⬆️
src/util/progress.ts 100% <100%> (ø) ⬆️
src/tools.ts 96.2% <100%> (-0.05%) ⬇️
src/odo.ts 42.59% <37.5%> (-1.08%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98c4c35...01c4f84. Read the comment docs.

progress.report({
increment: previous.increment,
message: `${previous.total}%`
});
}) : result;

const result: CliExitData = await odo.execute(current.command);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If an error happens here, it gets swallowed and the progress is stalled. You might need to call this with fail = false to pass it into the handling below.

@jrichter1 jrichter1 merged commit f6b6efc into redhat-developer:master Nov 28, 2018
@jrichter1 jrichter1 removed the review label Nov 28, 2018
@dgolovin dgolovin deleted the issue-386 branch May 27, 2022 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ODO not found when cluster is down
3 participants