From 64048189a45c4d54adc12354996c5af5a1efc246 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 5 Feb 2018 11:16:45 -0800 Subject: [PATCH] Fix error in test-mirror-workspace-git-repos Change-Id: I32fe15c1e62a9e4800457af80e25758afa988803 --- roles/test-mirror-workspace-git-repos/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/test-mirror-workspace-git-repos/tasks/main.yaml b/roles/test-mirror-workspace-git-repos/tasks/main.yaml index 264808529..dc01fd9a8 100644 --- a/roles/test-mirror-workspace-git-repos/tasks/main.yaml +++ b/roles/test-mirror-workspace-git-repos/tasks/main.yaml @@ -25,7 +25,7 @@ # 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.checkout }} + git checkout {{ item.value.checkout }} args: chdir: "{{ ansible_user_dir }}/{{ item.value.src_dir }}" with_dict: "{{ zuul.projects }}"