File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ def _build_image(
9696 try :
9797 run_docker_command (
9898 docker_args ,
99- check = True ,
99+ raise_if_errors = True ,
100100 capture_stderr = True ,
101101 )
102102 except subprocess .CalledProcessError as e :
@@ -133,7 +133,7 @@ def _tag_image(
133133 try :
134134 run_docker_command (
135135 docker_args ,
136- check = True ,
136+ raise_if_errors = True ,
137137 capture_stderr = True ,
138138 )
139139 except subprocess .CalledProcessError as e :
@@ -390,7 +390,7 @@ def get_dockerfile_templates(
390390def run_docker_command (
391391 cmd : list [str ],
392392 * ,
393- check : bool = True ,
393+ raise_if_errors : bool = True ,
394394 capture_stdout : bool | Path = False ,
395395 capture_stderr : bool | Path = False ,
396396) -> subprocess .CompletedProcess [str ]:
@@ -438,7 +438,7 @@ def run_docker_command(
438438 completed_process : subprocess .CompletedProcess [str ] = subprocess .run (
439439 cmd ,
440440 text = True ,
441- check = check ,
441+ check = raise_if_errors ,
442442 stderr = stderr ,
443443 stdout = stdout ,
444444 )
@@ -467,7 +467,7 @@ def run_docker_airbyte_command(
467467 cmd ,
468468 capture_stdout = True ,
469469 capture_stderr = True ,
470- check = False , # We want to handle failures ourselves.
470+ raise_if_errors = False , # We want to handle failures ourselves.
471471 )
472472 result_output = EntrypointOutput (
473473 command = cmd ,
You can’t perform that action at this time.
0 commit comments