From e0e6e36a8296b245b7d80eacf903b6c10840e224 Mon Sep 17 00:00:00 2001 From: Jarrod Johnon Date: Tue, 28 Oct 2014 16:52:59 -0400 Subject: [PATCH] Reference correct dictionary during confetty status update --- confluent_client/bin/confetty | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_client/bin/confetty b/confluent_client/bin/confetty index 19ac76af..65040e3c 100755 --- a/confluent_client/bin/confetty +++ b/confluent_client/bin/confetty @@ -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: