Linter rules
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
|||||||
func GetReason(r *http.Response) string {
|
func GetReason(r *http.Response) string {
|
||||||
if i := strings.IndexByte(r.Status, ' '); i != -1 {
|
if i := strings.IndexByte(r.Status, ' '); i != -1 {
|
||||||
return r.Status[i+1:]
|
return r.Status[i+1:]
|
||||||
} else {
|
|
||||||
return ""
|
|
||||||
}
|
}
|
||||||
|
return ""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user