Skip to content

Commit

Permalink
fixing #83 (#100)
Browse files Browse the repository at this point in the history
Updated the node id retrevial from Linux plugin in order to retrieve a standart UUID with dashes.
  • Loading branch information
gabrik authored Jun 12, 2019
1 parent c69e120 commit ecc8b1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fos-plugins/linux/linux_plugin
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,7 @@ class Linux(OSPlugin):
res = ''
for line in p.stdout:
res = res + '{}'.format(line.decode('utf-8'))
return res.lower().strip()
return '{}'.format(uuid.UUID(res.lower().strip()))

def get_hostname(self):
res = ''
Expand Down

0 comments on commit ecc8b1f

Please sign in to comment.