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

out_forward: Include before merging stats information correctly #3507

Merged
merged 1 commit into from Sep 14, 2021

Conversation

cosmo0920
Copy link
Contributor

Signed-off-by: Hiroshi Hatake hatake@calyptia.com

Which issue(s) this PR fixes:

Follows up #3503
What this PR does / why we need it:
Hash#merge does not merge within nested values.
They should be handled by hands.

Docs Changes:
No needed.
Release Note:
Same as title.

Hash#merge does not merge within nested values.
They should be handled by hands.

Signed-off-by: Hiroshi Hatake <hatake@calyptia.com>
@cosmo0920 cosmo0920 self-assigned this Sep 14, 2021
@ashie
Copy link
Member

ashie commented Sep 14, 2021

Ah, sorry, I also missed it.

@cosmo0920
Copy link
Contributor Author

Yeah, this behavior is pitfall. Now I understand why Rails provides Hash#deep_merge.... 😢

@cosmo0920
Copy link
Contributor Author

I'll merge this PR after CIs are finished.

@cosmo0920 cosmo0920 merged commit e1c3018 into master Sep 14, 2021
@cosmo0920 cosmo0920 deleted the follow-up-node-info-include-in-statistics branch September 14, 2021 10:58
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.

None yet

2 participants