From 24ebc320e1d51600710d729e9e09c87c8dbb362b Mon Sep 17 00:00:00 2001 From: digambar Date: Fri, 10 Oct 2014 22:40:52 +0530 Subject: [PATCH] Fixed the bugs in the container apis Co-Authored-By: Digambar Patil Co-Authored-By: Steven Dake Change-Id: I3be81a33c687cf5b0eaf9d10e7dc1163c8087412 --- containers/api/controllers/v2.py | 1 + 1 file changed, 1 insertion(+) diff --git a/containers/api/controllers/v2.py b/containers/api/controllers/v2.py index 282aef0107..55cd4d97ec 100644 --- a/containers/api/controllers/v2.py +++ b/containers/api/controllers/v2.py @@ -20,6 +20,7 @@ from pecan import rest, response import six +state_kind = ["ok", "containers", "insufficient data"] state_kind_enum = wtypes.Enum(str, *state_kind) operation_kind = ('lt', 'le', 'eq', 'ne', 'ge', 'gt') operation_kind_enum = wtypes.Enum(str, *operation_kind)