From 1f34f1d8808c7f1100601aff83a900b1fd13aa2b Mon Sep 17 00:00:00 2001 From: Erik Reid <erik.reid@geant.org> Date: Thu, 28 May 2020 20:02:25 +0200 Subject: [PATCH] fixed log struct schema --- inventory_provider/tasks/common.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inventory_provider/tasks/common.py b/inventory_provider/tasks/common.py index 3125c810..29280057 100644 --- a/inventory_provider/tasks/common.py +++ b/inventory_provider/tasks/common.py @@ -31,9 +31,9 @@ TASK_LOG_SCHEMA = { 'meta': { 'type': 'object', 'properties': { - 'task': {'type': ['string', 'null']}, - 'id': {'type': ['string', 'null']}, - 'worker': {'type': ['string', 'null']}, + 'task': {'type': 'string'}, + 'id': {'type': 'string'}, + 'worker': {'type': 'string'}, 'pid': {'type': 'integer'}, 'warning': {'type': 'boolean'}, 'error': {'type': 'boolean'}, -- GitLab