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

Print logs for containers that are not ready #1344

Merged

Conversation

dgageot
Copy link
Contributor

@dgageot dgageot commented Nov 30, 2018

Signed-off-by: David Gageot [email protected]

@codecov-io
Copy link

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
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
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)?

@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
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