mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 19:10:10 +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:
parent
f0edbbad39
commit
8e422ef822
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user