mirror of
https://github.com/xcat2/confluent.git
synced 2026-10-20 14:45:45 +00:00
Route the location resource to an input handler
Nothing matched the path, so an update was rejected with 400 before any plugin saw it.
This commit is contained in:
@@ -543,6 +543,9 @@ def get_input_message(path, operation, inputdata, nodes=None, multinode=False,
|
||||
elif (path[:3] == ['configuration', 'management_controller', 'domain_name']
|
||||
and operation != 'retrieve'):
|
||||
return InputDomainName(path, nodes, inputdata)
|
||||
elif (path[:3] == ['configuration', 'management_controller', 'location']
|
||||
and operation != 'retrieve'):
|
||||
return InputAttributes(path, inputdata, nodes)
|
||||
elif (path[:4] == ['configuration', 'management_controller', 'ntp',
|
||||
'enabled'] and operation != 'retrieve'):
|
||||
return InputNTPEnabled(path, nodes, inputdata)
|
||||
|
||||
Reference in New Issue
Block a user