2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-29 00:31:09 +00:00

Ignore certificate check when manual

When doing manual discovery, repeat the process regardless of
certificate fingerprint state, since manual process is supposed
to do that.
This commit is contained in:
Jarrod Johnson
2017-05-26 08:32:28 -04:00
parent e97f768170
commit 3318b3cda7
+1 -1
View File
@@ -646,7 +646,7 @@ def discover_node(cfg, handler, info, nodename, manual):
log.log({'info': 'Detected {0} ({1} with mac {2})'.format(
nodename, handler.devname, info['hwaddr'])})
return True
elif not util.cert_matches(lastfp, handler.https_cert):
elif manual or not util.cert_matches(lastfp, handler.https_cert):
# only 'discover' if it is not the same as last time
try:
handler.config(nodename)