mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-29 14:28:18 +00:00
Fix ssh access
Fixed handler (e.g. ssh) did not return console consistent with the plugin defined handlers.
This commit is contained in:
@@ -730,7 +730,7 @@ def handle_node_request(configmanager, inputdata, operation,
|
||||
if isnoderange:
|
||||
return passvalue
|
||||
elif isinstance(passvalue, console.Console):
|
||||
return passvalue
|
||||
return [passvalue]
|
||||
else:
|
||||
return stripnode(passvalue, nodes[0])
|
||||
elif 'pluginattrs' in plugroute:
|
||||
|
Reference in New Issue
Block a user