2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 17:43:14 +00:00

Fix for incorrect uuid format

In the slp data, the data is an array, make it a string first.
This commit is contained in:
Jarrod Johnson 2017-09-11 16:42:56 -04:00
parent e2e4c8c7e1
commit 6a1f7e7fa4

View File

@ -32,7 +32,7 @@ class NodeHandler(bmchandler.NodeHandler):
# ipmi return and property value
uuid = self.info.get('attributes', {}).get('uuid', None)
if uuid:
uuid = fixuuid(uuid)
uuid = fixuuid(uuid[0])
self.info['uuid'] = uuid
def config(self, nodename):