diff options
author | Kevin Hilman <khilman@baylibre.com> | 2018-11-08 14:54:23 -0800 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-11-08 14:56:08 -0800 |
commit | ef26eda226b6e3e4f3838883f2b46072b956b660 (patch) | |
tree | 7390c24e0c40d16b50326e2fd1e08b2737a33dd4 /templates/base | |
parent | ad3c3cdcf14b66807937415699c0b7797640e577 (diff) |
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 <khilman@baylibre.com>
Diffstat (limited to 'templates/base')
-rw-r--r-- | templates/base/agl-callback.jinja2 | 12 |
1 files changed, 6 insertions, 6 deletions
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 %} |