Fix default value handling
Default and real value are casted to unicode and then compared. Change-Id: I5defc7380adc840b84e7f3f3818f376c0d39ea23
This commit is contained in:
parent
e553876d30
commit
2bdcfdce61
|
@ -130,7 +130,7 @@ def parse_configs_from_context(context, defaults):
|
|||
config = key_split[2]
|
||||
if service not in configs_dict:
|
||||
configs_dict[service] = dict()
|
||||
if defaults[service][config] == val:
|
||||
if unicode(defaults[service][config]) == unicode(val):
|
||||
continue
|
||||
configs_dict[service][config] = val
|
||||
return configs_dict
|
||||
|
|
Loading…
Reference in New Issue