Skip to content

Commit

Permalink
[release-0.11] Handle dryRun, and pass that on as a query param. (#363)
Browse files Browse the repository at this point in the history
* Handle dryRun, and pass that on as a query param.

Co-authored-by: Mridul Gogoi <[email protected]>
  • Loading branch information
openshift-cherrypick-robot and Mridul Gogoi authored May 15, 2020
1 parent c0059f4 commit 9e7a09e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions openshift/dynamic/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,8 @@ def request(self, method, path, body=None, **params):
query_params.append(('timeoutSeconds', params['timeout_seconds']))
if params.get('watch') is not None:
query_params.append(('watch', params['watch']))
if params.get('dry_run') is not None:
query_params.append(('dryRun', params['dry_run']))

header_params = params.get('header_params', {})
form_params = []
Expand Down

0 comments on commit 9e7a09e

Please sign in to comment.