From 49a504972f2b17bce0ab396758b4dd4ac798e1af Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 25 Oct 2023 14:21:55 -0400 Subject: [PATCH] Fix syntax error in confignet --- confluent_osdeploy/common/profile/scripts/confignet | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_osdeploy/common/profile/scripts/confignet b/confluent_osdeploy/common/profile/scripts/confignet index f2a2edff..7e641205 100644 --- a/confluent_osdeploy/common/profile/scripts/confignet +++ b/confluent_osdeploy/common/profile/scripts/confignet @@ -435,7 +435,7 @@ if __name__ == '__main__': curridx = addr[-1] if curridx in doneidxs: continue - for tries in (1, 2 3): + for tries in (1, 2, 3): try: status, nc = apiclient.HTTPSClient(usejson=True, host=srv).grab_url_with_status('/confluent-api/self/netcfg') break @@ -446,7 +446,7 @@ if __name__ == '__main__': continue nc = json.loads(nc) if not dc: - for tries in (1, 2 3): + for tries in (1, 2, 3): try: status, dc = apiclient.HTTPSClient(usejson=True, host=srv).grab_url_with_status('/confluent-api/self/deploycfg2') break