From 61901638c9a3578ad28dae0c0e4b6ee41cff2454 Mon Sep 17 00:00:00 2001 From: Yonghee Han Date: Mon, 5 Nov 2018 18:50:33 +0900 Subject: [PATCH] Do not remote_sync to mirror Default value of the remote_sync is False. Change-Id: I74662b636a63fbf8f085dff325c5924c43e1d327 --- job_sync_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/job_sync_repo.py b/job_sync_repo.py index 00c1bd4..0db495b 100755 --- a/job_sync_repo.py +++ b/job_sync_repo.py @@ -242,7 +242,7 @@ def main(): print(cmd) subprocess.call(cmd, shell=True) - if content.get('remote_sync',True): + if content.get('remote_sync',False): download_rsync_path = os.path.join(os.getenv('RSYNC_SNAPSHOT'), dest_dir) print('download_rsync_path=%s' % download_rsync_path) cmd = 'ls %s | grep -v latest | parallel -j 8 rsync --compress --stats --archive --recursive --hard-links --verbose %s/{} %s/' \ -- 2.7.4