2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-29 13:00:03 +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:
Jarrod Johnson 2018-07-24 16:48:46 -04:00
parent f0edbbad39
commit 8e422ef822

View File

@ -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: