2
0
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:
Jarrod Johnon 2014-10-28 16:52:59 -04:00
parent 87ed69265a
commit e0e6e36a82

View File

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