rabbitmqadmin: add a missing mandatory parameter to {declare,delete} vhost_limit
Closes #667, references #666.
This commit is contained in:
parent
2845d0124a
commit
b866079c06
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Reference in New Issue