[PATCH 06/10] REST: A check must specify a state

Stephen Finucane stephen at that.guru
Wed May 1 03:50:51 AEST 2019


On Tue, 2019-04-30 at 16:03 +1000, Daniel Axtens wrote:
> The Ozlabs crew noticed that a check without a state caused a
> KeyError in data['state']. Mark state as mandatory, check for
> it, and add a test.
> 
> Reported-by: Russell Currey <ruscur at russell.cc>
> Reported-by: Jeremy Kerr <jk at ozlabs.org>
> Signed-off-by: Daniel Axtens <dja at axtens.net>
> (backported from commit 7a20ccda99e48dab643d1fbd7e170fe3e4c47185
>  No Swagger schema changes in the stable backport.)
> Signed-off-by: Daniel Axtens <dja at axtens.net>

Applied.




More information about the Patchwork mailing list