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

Fix nodeattrib set of password

This path happens in nodeattrib.
This commit is contained in:
Jarrod Johnson 2020-04-22 09:46:38 -04:00
parent 5232b7c9c4
commit 4f85ba2bff

View File

@ -702,7 +702,7 @@ class InputAttributes(ConfluentMessage):
return {}
nodeattr = deepcopy(self.nodeattribs[node])
for attr in nodeattr:
if type(nodeattr[attr]) in (bytes, unicode):
if type(nodeattr[attr]) in (bytes, unicode) and cfm.attrib_supports_expression(attr):
try:
# as above, use format() to see if string follows
# expression, store value back in case of escapes