Skip to content

Conversation

@dmcgowan
Copy link
Member

Go documentation says Use of GetBody still requires setting Body.
This change ensures the body is always set in addition to GetBody. This fixes a bug where sometimes the body is nil.

Fixes #3427

@codecov-io
Copy link

codecov-io commented Jul 18, 2019

Codecov Report

Merging #3431 into master will decrease coverage by 0.03%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3431      +/-   ##
==========================================
- Coverage   44.28%   44.24%   -0.04%     
==========================================
  Files         123      123              
  Lines       13665    13675      +10     
==========================================
  Hits         6051     6051              
- Misses       6683     6693      +10     
  Partials      931      931
Flag Coverage Δ
#linux 48.05% <0%> (-0.05%) ⬇️
#windows 39.78% <0%> (-0.04%) ⬇️
Impacted Files Coverage Δ
remotes/docker/resolver.go 53.53% <0%> (-0.74%) ⬇️
remotes/docker/pusher.go 0% <0%> (ø) ⬆️

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 283d5d9...518be1c. Read the comment docs.

@estesp
Copy link
Member

estesp commented Jul 18, 2019

AppVeyor did not run on the PR; seems GitHub is having degraded perf. issues with API/web.

Copy link
Member

@estesp estesp left a comment

Choose a reason for hiding this comment

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

LGTM

Go documentation says
`Use of GetBody still requires setting Body`.
This change ensures the body is always set in
addition to GetBody. This fixes a bug where
sometimes the body is nil.

Signed-off-by: Derek McGowan <[email protected]>
@crosbymichael
Copy link
Member

LGTM

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.

Cannot push images to registry

4 participants