mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-22 17:43:14 +00:00
Reference correct dictionary during confetty status update
This commit is contained in:
parent
87ed69265a
commit
e0e6e36a82
@ -80,7 +80,7 @@ def updatestatus(stateinfo={}):
|
||||
laststate[statekey] = stateinfo[statekey]
|
||||
if ('connectstate' in laststate and
|
||||
laststate['connectstate'] != 'connected'):
|
||||
info.append(stateinfo['connectstate'])
|
||||
info.append(laststate['connectstate'])
|
||||
if 'error' in laststate:
|
||||
info.append(laststate['error'])
|
||||
if 'clientcount' in laststate and laststate['clientcount'] != 1:
|
||||
|
Loading…
Reference in New Issue
Block a user