Merge "api: Fix issue with instance usage audit log schema"
This commit is contained in:
@@ -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},
|
||||
|
||||
Reference in New Issue
Block a user