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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user