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