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

Return both https and http errors on ping fallback #859

Merged
merged 2 commits into from Dec 8, 2020

Conversation

jonjohnsonjr
Copy link
Collaborator

Currently, we just return the last one, which is very misleading if
you're using self-signed certs for a domain that allows http fallback
(e.g. localhost).

Fixes #738

Currently, we just return the last one, which is very misleading if
you're using self-signed certs for a domain that allows http fallback
(e.g. localhost).
@codecov-io
Copy link

codecov-io commented Dec 3, 2020

Codecov Report

Merging #859 (092ee0a) into master (3158c98) will increase coverage by 0.02%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #859      +/-   ##
==========================================
+ Coverage   74.32%   74.35%   +0.02%     
==========================================
  Files         106      106              
  Lines        4452     4464      +12     
==========================================
+ Hits         3309     3319      +10     
- Misses        650      651       +1     
- Partials      493      494       +1     
Impacted Files Coverage Δ
pkg/v1/remote/transport/ping.go 86.95% <100.00%> (ø)
pkg/v1/remote/transport/useragent.go 64.51% <0.00%> (+11.88%) ⬆️

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 3158c98...092ee0a. Read the comment docs.

@jonjohnsonjr jonjohnsonjr merged commit 7b3632c into google:master Dec 8, 2020
@jonjohnsonjr jonjohnsonjr deleted the https-errors branch December 8, 2020 18:35
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.

crane copy can not be used to copy from insecure registry to secure
3 participants