F 修复自定义发布某些情况下一直显示等待调度的问题

pull/442/head
vapao 2021-12-27 15:55:23 +08:00
parent c4df010cdd
commit 9b4011cb2b
1 changed files with 1 additions and 1 deletions

View File

@ -128,7 +128,7 @@ def _ext2_deploy(req, helper, env):
for action in host_actions:
if action.get('type') == 'transfer':
action['src'] = render_str(action['src'].strip().rstrip('/'), env)
action['src'] = render_str(action.get('src', '').strip().rstrip('/'), env)
action['dst'] = render_str(action['dst'].strip().rstrip('/'), env)
if action.get('src_mode') == '1':
break