mirror of
https://github.com/xcat2/confluent.git
synced 2025-01-13 03:08:14 +00:00
Fix slowdown when no password change needed
If the password was pre-provisioned, accelerate the config phase of tsm bringup.
This commit is contained in:
parent
99d01d707f
commit
c5f75bfa15
@ -43,7 +43,7 @@ class NodeHandler(generic.NodeHandler):
|
||||
# but if https_cert gets stricter, this check means something
|
||||
fprint = util.get_fingerprint(self.https_cert)
|
||||
return util.cert_matches(fprint, certificate)
|
||||
|
||||
|
||||
def _get_wc(self):
|
||||
authdata = { # start by trying factory defaults
|
||||
'username': self.DEFAULT_USER,
|
||||
@ -111,8 +111,6 @@ class NodeHandler(generic.NodeHandler):
|
||||
wc = self._get_wc()
|
||||
wc.set_header('X-CSRFTOKEN', self.csrftok)
|
||||
curruserinfo = {}
|
||||
curruserinfo = wc.grab_json_response('/api/settings/users')
|
||||
authchg = curruserinfo[1]
|
||||
authupdate = False
|
||||
wc.set_header('Content-Type', 'application/json')
|
||||
if user != self.curruser:
|
||||
|
Loading…
x
Reference in New Issue
Block a user