Skip to content

Stop downloading odo/oc when cluster is down#406

Merged
jrichter1 merged 6 commits intoredhat-developer:masterfrom
dgolovin:issue-386
Nov 28, 2018
Merged

Stop downloading odo/oc when cluster is down#406
jrichter1 merged 6 commits intoredhat-developer:masterfrom
dgolovin:issue-386

Conversation

@dgolovin
Copy link
Copy Markdown
Collaborator

fix #386.

@codecov
Copy link
Copy Markdown

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.

Comment thread src/util/progress.ts Outdated
});
}) : result;

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

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