Skip to content

Commit

Permalink
address pr comment
Browse files Browse the repository at this point in the history
  • Loading branch information
efd6 committed May 15, 2024
1 parent 25b2663 commit ed0850b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions x-pack/filebeat/input/http_endpoint/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ func getTimeoutWait(u *url.URL, log *logp.Logger) (time.Duration, error) {
return 0, nil
case 1:
if _, ok := q["wait_for_completion_timeout"]; !ok {
// Get the only key in q. We don't know what it is, so iterate
// over the first one of one.
var k string
for k = range q {
break
Expand Down

0 comments on commit ed0850b

Please sign in to comment.