Skip to content

Commit 474392d

Browse files
committed
buildkite: fix agents passed as a list instead of dict
19e9051 assumed the `agents` is a dict, which was true in all cases except in one pipeline. Fixes: 19e9051 Signed-off-by: Pablo Barbáchano <[email protected]>
1 parent 15868c3 commit 474392d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.buildkite/pipeline_cpu_template.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -117,11 +117,11 @@ def group_snapshot_restore(test_step):
117117
BkStep.COMMAND: restore_commands,
118118
BkStep.LABEL: restore_label,
119119
BkStep.TIMEOUT: test_step["restore"][BkStep.TIMEOUT],
120-
"agents": [
121-
f"instance={restore_instance}",
122-
f"kv={restore_kv}",
123-
f"os={restore_os}",
124-
],
120+
"agents": {
121+
"instance": restore_instance,
122+
"kv": restore_kv,
123+
"os": restore_os,
124+
},
125125
}
126126
)
127127

0 commit comments

Comments
 (0)