Merge "api: Fix issue with instance usage audit log schema"

This commit is contained in:
Zuul
2026-02-26 13:26:09 +00:00
committed by Gerrit Code Review
@@ -32,11 +32,15 @@ _instance_usage_audit_log_response = {
'log': {
'type': 'object',
'additionalProperties': {
'type': 'object',
'properties': {
'instances': {'type': 'integer', 'minimum': 0},
'errors': {'type': 'integer', 'minimum': 0},
'message': {'type': 'string'},
'state': {'type': 'string', 'enum': ['RUNNING', 'DONE']},
},
'additionalProperties': False,
},
},
'num_hosts': {'type': 'integer', 'minimum': 0},
'num_hosts_done': {'type': 'integer', 'minimum': 0},