lint: remove redundant return
This commit is contained in:
parent
d43ee1c95f
commit
8ac613000b
1 changed files with 0 additions and 1 deletions
|
|
@ -388,7 +388,6 @@ func serializeError(w http.ResponseWriter, e *nhttp.ErrorWithStatus) {
|
|||
return
|
||||
}
|
||||
http.Error(w, string(body), e.Status)
|
||||
return
|
||||
}
|
||||
func respondError(w http.ResponseWriter, status int, format string, args ...any) {
|
||||
outer_err := fmt.Errorf(format, args...)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue