Skip to content

Commit

Permalink
Merge pull request #51042 from soltysh/request_timeout
Browse files Browse the repository at this point in the history
Automatic merge from submit-queue (batch tested with PRs 59276, 51042, 58973, 59377, 59472). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Allow passing request-timeout from NewRequest all the way down

**What this PR does / why we need it**:
Currently if you pass `--request-timeout` it's not passed all the way down to the actual request object. There's a separate field on the `Request` object that allows setting that timeout, but it's not taken from that flag.

@smarterclayton @deads2k ptal, this is coming from openshift/origin#13701

Kubernetes-commit: 1f6251444b7dad7f5d924acbfb366541f2a6fb99
  • Loading branch information
k8s-publishing-bot committed Feb 7, 2018
2 parents 5e622f3 + a4f6f78 commit 33bd23f
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 93 deletions.
Loading

0 comments on commit 33bd23f

Please sign in to comment.