From ef26eda226b6e3e4f3838883f2b46072b956b660 Mon Sep 17 00:00:00 2001 From: Kevin Hilman Date: Thu, 8 Nov 2018 14:54:23 -0800 Subject: templates: agl-callback: use new syntax Use new "callbacks" syntax (note plural) so that in the future, additional callbacks can be added. Change-Id: Ic793aa591d427bcda45ffbba91e8ea2fadfa6157 Signed-off-by: Kevin Hilman --- templates/base/agl-callback.jinja2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'templates/base') diff --git a/templates/base/agl-callback.jinja2 b/templates/base/agl-callback.jinja2 index b0e083d..b5d3e5e 100644 --- a/templates/base/agl-callback.jinja2 +++ b/templates/base/agl-callback.jinja2 @@ -2,10 +2,10 @@ notify: criteria: status: finished - callback: - url: {{ backend_fqdn }}/callback/lava/test?lab_name={{ lab_name }}&status={STATUS}&status_string={STATUS_STRING} - method: POST - dataset: all - token: {{ lab_token }} - content-type: json + callbacks: + - url: {{ backend_fqdn }}/callback/lava/test?lab_name={{ lab_name }}&status={STATUS}&status_string={STATUS_STRING} + method: POST + dataset: all + token: {{ lab_token }} + content-type: json {%- endblock %} -- cgit 1.2.3-korg