Default the scale status to SUCCESS

The workflow only sets the status when there is a problem, otherwise it
should default to SUCCESS. This regression was introduced in
I906e0ae92bcd084f4bf6ec669d6be0f71dc7a29b, which assumed the status was
always set when it isn't

Closes-Bug: #1796893

Change-Id: If4815d70cdf63f4f050589f8a267a0945e72ebdb
This commit is contained in:
Dougal Matthews 2018-10-09 14:51:17 +01:00
parent 92100d71d0
commit c3db422b13
1 changed files with 1 additions and 1 deletions

View File

@ -57,6 +57,6 @@ workflows:
input:
queue_name: <% $.queue_name %>
type: <% execution().name %>
status: <% $.status %>
status: <% $.get('status', 'SUCCESS') %>
execution: <% execution() %>
message: <% $.get('message', '') %>