Skip to content

Commit

Permalink
PR feedback: removed duplicate comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Lev Brouk committed Apr 27, 2022
1 parent 07e4a73 commit 558da63
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/proxy/call.go
Expand Up @@ -190,9 +190,6 @@ func (p *Proxy) pingApp(r *incoming.Request, app apps.App) (reachable bool) {
return err == nil || errors.Cause(err) == utils.ErrNotFound
}

// pingApp checks if the app is accessible. Call its ping path with nothing
// expanded, ignore 404 errors coming back and consider everything else a
// "success".
func (p *Proxy) timeoutRequest(r *incoming.Request, timeout time.Duration) (*incoming.Request, context.CancelFunc) {
r = r.Clone()
ctx, cancel := context.WithTimeout(r.Ctx(), timeout)
Expand Down

0 comments on commit 558da63

Please sign in to comment.