rabbitmqadmin: add a missing mandatory parameter to {declare,delete} vhost_limit

Closes #667, references #666.
This commit is contained in:
Michael Klishin 2019-03-05 22:14:12 +03:00
parent 2845d0124a
commit b866079c06
1 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ DECLARABLE = {
'operator_policy': {'mandatory': ['name', 'pattern', 'definition'],
'json': ['definition', 'priority'],
'optional': {'priority': 0, 'apply-to': None}},
'vhost_limit': {'mandatory': ['name', 'value'],
'vhost_limit': {'mandatory': ['vhost', 'name', 'value'],
'json': ['value'],
'optional': {}},
}
@ -154,7 +154,7 @@ DELETABLE = {
'parameter': {'mandatory': ['component', 'name']},
'policy': {'mandatory': ['name']},
'operator_policy': {'mandatory': ['name']},
'vhost_limit': {'mandatory': ['name']}
'vhost_limit': {'mandatory': ['vhost', 'name']}
}
CLOSABLE = {