mirror of
https://github.com/xcat2/confluent.git
synced 2025-08-26 21:20:30 +00:00
Amend some formatting
This commit is contained in:
@@ -78,14 +78,10 @@ class CredServer(object):
|
||||
echotoken = client.recv(tlv[1])
|
||||
self.cfm.set_node_attributes({nodename: {'api.key': echotoken, 'api.armed': ''}})
|
||||
client.recv(2) # drain end of message
|
||||
client.send('\x05\x00') # report success
|
||||
client.send('\x05\x00') # report success
|
||||
client.close()
|
||||
|
||||
if __name__ == '__main__':
|
||||
a = CredServer()
|
||||
while True:
|
||||
eventlet.sleep(86400)
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user