You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File "./inventory/hiera.py", line 91, in get_inventory
method=hiyapyco.METHOD_MERGE)
File "build/bdist.linux-x86_64/egg/hiyapyco/__init__.py", line 410, in load
File "build/bdist.linux-x86_64/egg/hiyapyco/__init__.py", line 200, in __init__
File "build/bdist.linux-x86_64/egg/hiyapyco/__init__.py", line 347, in _deepmerge
File "build/bdist.linux-x86_64/egg/hiyapyco/__init__.py", line 339, in _deepmerge
hiyapyco.HiYaPyCoImplementationException: can not merge <type 'NoneType'> to <type 'list'> (@ "['entry']" try to merge "None")
The text was updated successfully, but these errors were encountered:
t2d
changed the title
Merge of empty dict and dict with entires doesn't work
Merge of empty dict and dict with entries doesn't work
Jan 11, 2016
leave empty vars away or you should init your empty yaml vars correctly for type safety:
test: []
or
xxx: {}
or
strlar: ''
or
....
if this is not a option for your setup I could implement a kwargs i.e. allowmergeintononetype=bool that will default to False in order to preserve type safety and backwards compatibility bot may allow you to force merging of any type into vars w/ None value.
Traceback:
The text was updated successfully, but these errors were encountered: