2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 02:52:07 +00:00

Correct syntax typo

This commit is contained in:
Jarrod Johnson 2022-02-08 10:49:42 -05:00
parent 358b719cec
commit 6e03f6ee0a

View File

@ -318,7 +318,7 @@ def initialize(cmdset):
if not os.path.exists('confluent_uuid'):
c = client.Command()
for rsp in c.read('/uuid'):
uuid = rsp.get('uuid', {}}).get('value', None)
uuid = rsp.get('uuid', {}).get('value', None)
if uuid:
with open('confluent_uuid') as uuidout:
uuidout.write(uuid)