mirror of
https://github.com/xcat2/confluent.git
synced 2025-02-28 08:11:45 +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:
parent
a0ea8eeae3
commit
19c2963cf9
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user