Skip to content

out_forward: Include before merging stats information correctly#3507

Merged
cosmo0920 merged 1 commit into
masterfrom
follow-up-node-info-include-in-statistics
Sep 14, 2021
Merged

out_forward: Include before merging stats information correctly#3507
cosmo0920 merged 1 commit into
masterfrom
follow-up-node-info-include-in-statistics

Conversation

@cosmo0920

Copy link
Copy Markdown
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 requested review from ashie and kenhys September 14, 2021 06:23
@cosmo0920 cosmo0920 self-assigned this Sep 14, 2021
@ashie

ashie commented Sep 14, 2021

Copy link
Copy Markdown
Member

Ah, sorry, I also missed it.

@cosmo0920

Copy link
Copy Markdown
Contributor Author

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

@cosmo0920

Copy link
Copy Markdown
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.

2 participants