mirror of
https://github.com/xcat2/confluent.git
synced 2025-07-05 20:35:38 +00:00
Fix problem where plugin api failed to access the node specific dict
This commit is contained in:
@ -86,8 +86,8 @@ def handle_path(path, operation, configmanager):
|
||||
nodeattr = configmanager.get_node_attributes(
|
||||
[node], plugroute['pluginattrs'])
|
||||
for attrname in plugroute['pluginattrs']:
|
||||
if attrname in nodeattr:
|
||||
return pluginmap[nodeattr[attrname]].__dict__[operation](
|
||||
if attrname in nodeattr[node]:
|
||||
return pluginmap[nodeattr[node][attrname]['value']].__dict__[operation](
|
||||
node=(node), operation=operation,
|
||||
configmanager=configmanager)
|
||||
|
||||
|
Reference in New Issue
Block a user