2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-08-03 16:07:00 +00:00

Drop unreachable web client check in get_diagnostic_data

wc() either returns a client or propagates the exception raised while
logging in; it cannot return None the way connect() could.
This commit is contained in:
Markus Hilger
2026-07-27 00:28:10 +02:00
parent 6e6cbce0a2
commit 474e2bd975
@@ -792,8 +792,6 @@ class SMMClient(object):
if progress:
progress({'phase': 'initializing', 'progress': initpct})
wc = await self.wc()
if wc is None:
raise Exception("Failed to connect to web api")
if variant and variant >> 5:
url = '/preview/smm2-ffdc.tgz?ST1={0}'.format(wc.st1)
else: