Re-add the mapping for logs/$LOG_PATH
Change-Id: I5cef667f394d3549e791e08541b6eb6e6889b124
diff --git a/zuul/cmd/migrate.py b/zuul/cmd/migrate.py
index 0c88482..58eaff8 100644
--- a/zuul/cmd/migrate.py
+++ b/zuul/cmd/migrate.py
@@ -610,6 +610,10 @@
src = scpfile['source'].replace('**', '')
rsync_opts = None
draft = True
+ else:
+ target = target.replace(
+ 'logs/$LOG_PATH',
+ "{{ zuul.executor.log_root }}")
elif site == 'tarballs.openstack.org':
if not target.startswith('tarballs'):
self.log.error(