mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
Fix uninitialized variable in deserialize method (#18037)
The bug was introduced with commit 06d4f4ad0e.
Added a simple test.
This commit is contained in:
committed by
jctanner
parent
0a60cceaf0
commit
cf0da0948d
@@ -251,7 +251,7 @@ class Block(Base, Become, Conditional, Taggable):
|
||||
p = TaskInclude()
|
||||
elif parent_type == 'HandlerTaskInclude':
|
||||
p = HandlerTaskInclude()
|
||||
p.deserialize(pb_data)
|
||||
p.deserialize(parent_data)
|
||||
self._parent = p
|
||||
self._dep_chain = self._parent.get_dep_chain()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user