Add length constraint for workflow tasks

Now with empty tasks list template will fail
heat temlate validation.

Change-Id: Ibe7e031771687aadf15f5bc2e57ab7a294f48e21
Closes-Bug: #1558514
This commit is contained in:
Dmitriy Uvarenkov 2016-03-17 13:57:49 +02:00
parent 8399481649
commit 42b165bf04
1 changed files with 2 additions and 1 deletions

View File

@ -331,7 +331,8 @@ class Workflow(signal_responder.SignalResponder,
},
),
required=True,
update_allowed=True
update_allowed=True,
constraints=[constraints.Length(min=1)]
)
}