Skip to content

Commit d5404e7

Browse files
mgogoiMridul Gogoi
and
Mridul Gogoi
authored
Handle dryRun, and pass that on as a query param. (#360)
* Handle dryRun, and pass that on as a query param. Co-authored-by: Mridul Gogoi <[email protected]>
1 parent 4814712 commit d5404e7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

openshift/dynamic/client.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,8 @@ def request(self, method, path, body=None, **params):
210210
query_params.append(('timeoutSeconds', params['timeout_seconds']))
211211
if params.get('watch') is not None:
212212
query_params.append(('watch', params['watch']))
213+
if params.get('dry_run') is not None:
214+
query_params.append(('dryRun', params['dry_run']))
213215

214216
header_params = params.get('header_params', {})
215217
form_params = []

0 commit comments

Comments
 (0)