mirror of
				https://github.com/xcat2/confluent.git
				synced 2025-11-03 21:02:36 +00:00 
			
		
		
		
	Fix another python 3 expectation
python3 needs this stringified from socket that provides bytes.
This commit is contained in:
		@@ -68,7 +68,7 @@ class CredServer(object):
 | 
			
		||||
            if tlv[0] != 4:
 | 
			
		||||
                client.close()
 | 
			
		||||
                return
 | 
			
		||||
            echotoken = client.recv(tlv[1])
 | 
			
		||||
            echotoken = util.stringify(client.recv(tlv[1]))
 | 
			
		||||
            cfgupdate = {nodename: {'api.key': echotoken, 'api.armed': ''}}
 | 
			
		||||
            if apiarmed == 'continuous':
 | 
			
		||||
                del cfgupdate[nodename]['api.armed']
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user