Fix error in mirror-workspace-git-repos

Change-Id: I24d8fd400362ea6a20bc068617e863f98c3e3170
This commit is contained in:
James E. Blair 2017-08-31 11:50:22 -07:00
parent eef9bdac59
commit 44e8254679

View File

@ -27,9 +27,9 @@
# Undo the config setting we did above
git config --local --unset receive.denyCurrentBranch
# checkout the branch matching the branch set up by the executor
git checkout {{ item.1 }}
git checkout {{ item.1.stdout }}
args:
chdir: "{{ ansible_user_dir }}/{{ item.0.src_dir }}"
with_together:
- "{{ zuul.projects }}"
- "{{ statuses }}"
- "{{ statuses.results }}"