remove all dead codes (#5019)

Fixes #5012
This commit is contained in:
Bala FA
2017-10-05 12:25:45 -07:00
committed by Dee Koder
parent 13a7033505
commit 88938340b3
11 changed files with 3 additions and 247 deletions
-9
View File
@@ -50,15 +50,6 @@ type httpConn struct {
Endpoint string
}
// List of success status.
var successStatus = []int{
http.StatusOK,
http.StatusAccepted,
http.StatusContinue,
http.StatusNoContent,
http.StatusPartialContent,
}
// isNetErrorIgnored - is network error ignored.
func isNetErrorIgnored(err error) bool {
if err == nil {