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:
parent
8d02d7cc7f
commit
87da7b62ae
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user