Skip to content

Commit 8e7e008

Browse files
committed
Merge branch 'updateForLogging' of https://github.com/anandhu-eng/mlperf-automations into updateForLogging
2 parents 51d8a6b + 1e39414 commit 8e7e008

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

automation/script/docker.py

+6-4
Original file line numberDiff line numberDiff line change
@@ -183,11 +183,13 @@ def dockerfile(self_module, input_params):
183183

184184
docker_v = False
185185
docker_s = False
186-
if is_true(input_params.get('docker_v', input_params.get('docker_verbose', False))):
186+
if is_true(input_params.get(
187+
'docker_v', input_params.get('docker_verbose', False))):
187188
docker_v = True
188-
if is_true(input_params.get('docker_s', input_params.get('docker_silent', False))):
189+
if is_true(input_params.get(
190+
'docker_s', input_params.get('docker_silent', False))):
189191
docker_s = True
190-
192+
191193
if docker_s and docker_v:
192194
logger.warning(
193195
"Both verbose and silent is set to True. Verbose will take precedence.")
@@ -198,7 +200,7 @@ def dockerfile(self_module, input_params):
198200
docker_v = True
199201
elif logger.level == logging.WARNING:
200202
docker_s = True
201-
203+
202204
if docker_s:
203205
mlc_docker_input['run_cmd'] += ' -s'
204206
elif docker_v:

0 commit comments

Comments
 (0)