Fixes Making sure that the key value returns a string to avoid concatenation issues (#37445)
parent
8673e1e661
commit
3f2c90914e
|
@ -491,7 +491,7 @@ class VMWareInventory(object):
|
||||||
keylist = map(lambda x: x.strip(), tv['value'].split(','))
|
keylist = map(lambda x: x.strip(), tv['value'].split(','))
|
||||||
for kl in keylist:
|
for kl in keylist:
|
||||||
try:
|
try:
|
||||||
newkey = self.config.get('vmware', 'custom_field_group_prefix') + field_name + '_' + kl
|
newkey = self.config.get('vmware', 'custom_field_group_prefix') + str(field_name) + '_' + kl
|
||||||
newkey = newkey.strip()
|
newkey = newkey.strip()
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.debugl(e)
|
self.debugl(e)
|
||||||
|
|
Loading…
Reference in New Issue