2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-09 04:56:12 +00:00

Correct mistake in the model attribute name

The info calls it 'modelnumber' rather than 'model'
This commit is contained in:
Jarrod Johnson 2017-08-09 14:55:27 -04:00
parent 8d02d7cc7f
commit 87da7b62ae

View File

@ -706,8 +706,8 @@ def discover_node(cfg, handler, info, nodename, manual):
newnodeattribs['id.uuid'] = info['uuid']
if 'serialnumber' in info:
newnodeattribs['id.serial'] = info['serialnumber']
if 'model' in info:
newnodeattribs['id.model'] = info['model']
if 'modelnumber' in info:
newnodeattribs['id.model'] = info['modelnumber']
if handler.https_cert:
newnodeattribs['pubkeys.tls_hardwaremanager'] = \
util.get_fingerprint(handler.https_cert)