2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-02-28 16:21:40 +00:00

Fix reassign with SMM

SMM validation assumes an earlier connection, fix so that it will accept the certificate
if no certificate expected yet.
This commit is contained in:
Jarrod Johnson 2019-07-11 15:55:20 -04:00
parent a0ea8eeae3
commit 19c2963cf9

View File

@ -40,6 +40,8 @@ class NodeHandler(bmchandler.NodeHandler):
# Assumption is by the time we call config, that discovery core has
# vetted self._fp. Our job here then is just to make sure that
# the currect connection matches the previously saved cert
if not self._fp: # circumstances are that we haven't validated yet
self._fp = certificate
return certificate == self._fp
def set_password_policy(self, ic):