Skip to content
Snippets Groups Projects

Don't validate joblog:cached-response values

Open Bjarke Madsen requested to merge fix-uuid-validation-error into develop
2 files
+ 11
8
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -53,10 +53,10 @@ TASK_LOG_RESPONSE_SCHEMA = {
"$schema": "https://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"pending": {"type": "array", "items": {"type": "string"}},
"errors": {"type": "array", "items": {"type": "string"}},
"failed": {"type": "array", "items": {"type": "string"}},
"warnings": {"type": "array", "items": {"type": "string"}},
"pending": {"type": "array", "items": {"type": "string"}},
"errors": {"type": "array", "items": {"type": "string"}},
"failed": {"type": "array", "items": {"type": "string"}},
"warnings": {"type": "array", "items": {"type": "string"}},
},
"required": ["pending", "errors", "failed", "warnings"],
"additionalProperties": False
@@ -207,8 +207,7 @@ def load_task_log():
}
found_tasks = False
for task in monitor.load_task_log(
current_app.config['INVENTORY_PROVIDER_CONFIG']).values():
for task in monitor.load_task_log(current_app.config['INVENTORY_PROVIDER_CONFIG'], {cache_key}).values():
found_tasks = True
Loading