mirror of
https://github.com/outbackdingo/kubernetes.git
synced 2026-02-13 14:30:38 +00:00
Previously this code used http.Get and failed to read/close resp.Body, which prevented network connection reuse, leaking fds. Now we use http.Head instead, because its response always has a nil Body, so we don't have to worry about read/close.