Skip to content

Commit 17e34f8

Browse files
authored
Fix wait_for_health argument in docker_run (DataDog#21209)
1 parent c9fb73d commit 17e34f8

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix wait_for_health flag win docker_run

datadog_checks_dev/datadog_checks/dev/docker.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,8 @@ def docker_run(
176176
composeFileArgs = {'compose_file': compose_file, 'build': build, 'service_name': service_name}
177177
if capture is not None:
178178
composeFileArgs['capture'] = capture
179+
if waith_for_health:
180+
composeFileArgs['waith_for_health'] = waith_for_health
179181
set_up = ComposeFileUp(**composeFileArgs)
180182
if down is not None:
181183
tear_down = down

0 commit comments

Comments
 (0)