fix lint error
This commit is contained in:
parent
ea97070fea
commit
05e1539134
@ -170,7 +170,6 @@ func (r *Reader) Status() string {
|
||||
return httpReader.GetResponse().Status
|
||||
}
|
||||
panic("Unable to get HTTP status from reader")
|
||||
return ""
|
||||
}
|
||||
|
||||
func (r *Reader) StatusCode() int {
|
||||
@ -178,7 +177,6 @@ func (r *Reader) StatusCode() int {
|
||||
return httpReader.GetResponse().StatusCode
|
||||
}
|
||||
panic("Unable to get HTTP status code from reader")
|
||||
return 0
|
||||
}
|
||||
|
||||
func (r *Reader) Response() *http.Response {
|
||||
|
Loading…
Reference in New Issue
Block a user