@@ -259,7 +259,7 @@ def call_remote_run_prepare(self_module, meta, script_item, env, state, i):
259259
260260def regenerate_script_cmd (i ):
261261
262- docker_settings = i .get ('docker_settings ' , {})
262+ remote_run_settings = i .get ('remote_run_settings ' , {})
263263 fake_run = i .get ('fake_run' , False )
264264
265265 i_run_cmd = i ['run_cmd' ]
@@ -297,14 +297,14 @@ def regenerate_script_cmd(i):
297297 env [key ] = [
298298 val for val in value if val not in values_to_remove ]
299299
300- docker_run_cmd_prefix = i .get ('docker_run_cmd_prefix' , '' )
300+ # docker_run_cmd_prefix = i.get('docker_run_cmd_prefix', '')
301301
302302 # Regenerate command from dictionary input
303303 run_cmd = 'mlcr'
304304
305- skip_input_for_fake_run = docker_settings .get (
305+ skip_input_for_fake_run = remote_run_settings .get (
306306 'skip_input_for_fake_run' , [])
307- add_quotes_to_keys = docker_settings .get ('add_quotes_to_keys' , [])
307+ add_quotes_to_keys = remote_run_settings .get ('add_quotes_to_keys' , [])
308308 def rebuild_flags (
309309 command_dict ,
310310 is_fake_run ,
@@ -370,7 +370,7 @@ def rebuild_flags(
370370 add_quotes_to_keys ,
371371 '' )
372372
373- run_cmd = docker_run_cmd_prefix + ' && ' + \
374- run_cmd if docker_run_cmd_prefix != '' else run_cmd
373+ # run_cmd = docker_run_cmd_prefix + ' && ' + \
374+ # run_cmd if docker_run_cmd_prefix != '' else run_cmd
375375
376376 return {'return' : 0 , 'run_cmd_string' : run_cmd }
0 commit comments