Skip to content

Commit

Permalink
minor edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Utkarsh Shukla committed Dec 17, 2024
1 parent 9db3548 commit c2bf1d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/serviceconfig/service_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,8 @@ func runAPIHandler(em EchoManager, routes Destinations, ep SearchSpec, w http.Re
if err != nil {
logger.Errorf("unable to read entire message body")
w.WriteHeader(http.StatusServiceUnavailable)
return
cancel()
return
}
r.Body.Close()

Expand Down

0 comments on commit c2bf1d8

Please sign in to comment.