Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set runner_cache as defaultdict of dict #36

Merged
merged 1 commit into from Oct 16, 2019

Conversation

machacekondra
Copy link
Contributor

runner_cache should be of type defaultdict(dict), because it may happen
that cb_event_handler is called before runner_cache is initialized with
play_uuid.

Fixes: #35

runner_cache should be of type defaultdict(dict), because it may happen
that cb_event_handler is called before runner_cache is initialized with
play_uuid.

Fixes: ansible#35
@jmolmo
Copy link
Collaborator

jmolmo commented Aug 8, 2019

Good catch and excellent solution :-)

LGTM

@machacekondra
Copy link
Contributor Author

Hello @pcuzner @jmolmo can you please review/merge if all is OK? Thank you!

@pcuzner pcuzner merged commit 3dbcb54 into ansible:master Oct 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cb_event_handler is called before runner_cache is initialized with play_uuid data
3 participants