2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-04-13 20:31:29 +00:00

Skip attempt to fixup custom attributes

This commit is contained in:
Jarrod Johnson
2017-08-24 16:01:00 -04:00
parent a98d8dc43c
commit 695e038ced

View File

@@ -227,6 +227,8 @@ def decrypt_value(cryptvalue,
def fixup_attribute(attrname, attrval):
# Normalize some data, for example strings and numbers to bool
if attrname.startswith('custom.'):
return attrval
if attrname.startswith('net.'):
# For net.* attribtues, split on the dots and put back together
# longer term we might want a generic approach, but