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

log: use context.TODO for not yet plumbed ctx #6462

Merged
merged 1 commit into from
Aug 20, 2021
Merged

log: use context.TODO for not yet plumbed ctx #6462

merged 1 commit into from
Aug 20, 2021

Conversation

ahmetb
Copy link
Contributor

@ahmetb ahmetb commented Aug 19, 2021

Fixes: #6461
Related: #6419

Description
Replacing context.Background() usage with context.TODO
(https://pkg.go.dev/context?utm_source=godoc#TODO) so we can clean up later on
more easily.

@ahmetb ahmetb requested review from yuwenma and a team as code owners August 19, 2021 16:57
@google-cla google-cla bot added the cla: yes label Aug 19, 2021
@ahmetb ahmetb requested a review from MarlonGamez August 19, 2021 16:57
Copy link
Contributor

@gsquared94 gsquared94 left a comment

Choose a reason for hiding this comment

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

lgtm

@codecov
Copy link

codecov bot commented Aug 19, 2021

Codecov Report

Merging #6462 (884ec63) into main (590d904) will not change coverage.
The diff coverage is 55.65%.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #6462   +/-   ##
=======================================
  Coverage   70.28%   70.28%           
=======================================
  Files         510      510           
  Lines       22976    22976           
=======================================
  Hits        16149    16149           
  Misses       5770     5770           
  Partials     1057     1057           
Impacted Files Coverage Δ
cmd/skaffold/app/cmd/config/util.go 54.28% <0.00%> (ø)
cmd/skaffold/app/cmd/flags.go 90.81% <0.00%> (ø)
cmd/skaffold/app/cmd/runner.go 64.17% <0.00%> (ø)
cmd/skaffold/skaffold.go 0.00% <0.00%> (ø)
pkg/diag/validator/pod.go 1.32% <0.00%> (ø)
pkg/skaffold/build/cache/cache.go 53.57% <0.00%> (ø)
pkg/skaffold/build/gcb/buildpacks.go 93.33% <0.00%> (ø)
pkg/skaffold/build/jib/errors.go 48.93% <0.00%> (ø)
pkg/skaffold/build/jib/init.go 85.07% <0.00%> (ø)
pkg/skaffold/build/result.go 87.30% <0.00%> (ø)
... and 81 more

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 590d904...884ec63. Read the comment docs.

@tejal29
Copy link
Contributor

tejal29 commented Aug 19, 2021

I think @marlon-gamez is working on refactoring this.

Replacing context.Background() usage with context.TODO
(https://pkg.go.dev/context?utm_source=godoc#TODO) so we can clean up later on
more easily.

Signed-off-by: Ahmet Alp Balkan <[email protected]>
@ahmetb
Copy link
Contributor Author

ahmetb commented Aug 19, 2021

@tejal29 Yeah Marlon is aware of the change.

@MarlonGamez MarlonGamez merged commit 311b521 into GoogleContainerTools:main Aug 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

log: make use of context.TODO if ctx is not plumbed yet
4 participants