To avoid unexpected results since docker was using http.
For instance, my broadband doesn't return not found when it's down but
a html page saying that the internet is down. Docker was showing that
html instead of ignoring it.
Fix #3570
Docker-DCO-1.1-Signed-off-by: Fabio Falci <fabiofalci@gmail.com> (github: fabiofalci)
| ... | ... |
@@ -827,7 +827,7 @@ func ParseHost(defaultHost string, defaultPort int, defaultUnix, addr string) (s |
| 827 | 827 |
} |
| 828 | 828 |
|
| 829 | 829 |
func GetReleaseVersion() string {
|
| 830 |
- resp, err := http.Get("http://get.docker.io/latest")
|
|
| 830 |
+ resp, err := http.Get("https://get.docker.io/latest")
|
|
| 831 | 831 |
if err != nil {
|
| 832 | 832 |
return "" |
| 833 | 833 |
} |