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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user