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

[storage] Small Nits #255

Merged
merged 2 commits into from
Dec 1, 2020
Merged

[storage] Small Nits #255

merged 2 commits into from
Dec 1, 2020

Conversation

patrick-ogrady
Copy link
Contributor

Related: #252

This PR completes the Future Work section of #252.

Changes

  • use github.com/neilotoole/errgroup
  • pre-allocate allChanges

@@ -128,9 +128,11 @@ func (p *Parser) BalanceChanges(
}
}

allChanges := []*BalanceChange{}
i := 0
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ahh I'm not a go expert but I should have seen this that the key is string. ACK this thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants