Skip to content

Print logs for containers that are not ready#1344

Merged
nkubala merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:print-logs-even-if-not-ready
Dec 1, 2018
Merged

Print logs for containers that are not ready#1344
nkubala merged 1 commit intoGoogleContainerTools:masterfrom
dgageot:print-logs-even-if-not-ready

Conversation

@dgageot
Copy link
Copy Markdown
Contributor

@dgageot dgageot commented Nov 30, 2018

Signed-off-by: David Gageot david@gageot.net

@codecov-io
Copy link
Copy Markdown

codecov-io commented Nov 30, 2018

Codecov Report

Merging #1344 into master will increase coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1344      +/-   ##
==========================================
+ Coverage   45.03%   45.05%   +0.01%     
==========================================
  Files         114      114              
  Lines        4912     4910       -2     
==========================================
  Hits         2212     2212              
+ Misses       2475     2473       -2     
  Partials      225      225
Impacted Files Coverage Δ
pkg/skaffold/kubernetes/log.go 6.89% <0%> (+0.11%) ⬆️

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 a314b3e...6339d13. Read the comment docs.

@dgageot dgageot removed the wip label Nov 30, 2018
@dgageot dgageot force-pushed the print-logs-even-if-not-ready branch 2 times, most recently from 61e06c4 to 9e7bf07 Compare November 30, 2018 19:04
Copy link
Copy Markdown
Contributor

@nkubala nkubala left a comment

Choose a reason for hiding this comment

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

one nit, otherwise LGTM

continue
}

if alreadyTracked := a.trackedContainers.add(container.ContainerID); !alreadyTracked {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

can this not be if !a.trackedContainers.add(container.ContainerID)?

Signed-off-by: David Gageot <david@gageot.net>
@dgageot dgageot force-pushed the print-logs-even-if-not-ready branch from 9e7bf07 to 6339d13 Compare November 30, 2018 21:08
@dgageot
Copy link
Copy Markdown
Contributor Author

dgageot commented Nov 30, 2018

@nkubala thanks for the feedback, should be good now!

@nkubala nkubala merged commit b4f429f into GoogleContainerTools:master Dec 1, 2018
@dgageot dgageot deleted the print-logs-even-if-not-ready branch December 28, 2018 07:13
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.

3 participants