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