mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-21 17:11:58 +00:00
Fix incorrect output on disconnect for cli mode
The '.' command would fail to exit the function, causing the 'help' output to occur. Fix this by having the '.' command processed in the same manner as the rest.
This commit is contained in:
parent
1d635add9e
commit
426eeb209f
5
TODO
5
TODO
@ -48,6 +48,5 @@ Traceback (most recent call last):
|
||||
File "/usr/bin/confetty", line 211, in print_result
|
||||
for key in res.iterkeys():
|
||||
AttributeError: 'str' object has no attribute 'iterkeys'
|
||||
[root@odin ~]# confetty
|
||||
/ -> cd /nodes/n3
|
||||
-try to get 'health' without trailing /
|
||||
-/detected/ collection
|
||||
-SLP snooping: snoop for srvrequests, likel
|
||||
|
@ -456,7 +456,7 @@ def conserver_command(filehandle, command):
|
||||
if command[0] == '.':
|
||||
print("disconnect]\r")
|
||||
quitconfetty(fullexit=consoleonly)
|
||||
if command[0] == 'b':
|
||||
elif command[0] == 'b':
|
||||
tlvdata.send(session.connection, {'operation': 'break',
|
||||
'path': currconsole})
|
||||
print("break sent]\r")
|
||||
|
Loading…
Reference in New Issue
Block a user