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

Use map to simplify structure of setup a bit #1585

Merged
merged 1 commit into from
Jul 16, 2019

Conversation

mulkieran
Copy link
Member

@mulkieran mulkieran commented Jul 16, 2019

Related: #1573.

This eliminates the method-level identifiers buf_loc_1 and buf_loc_2.
The names still appear here and there, but now they are bound locally,
in various match arms, and not globally within the method.

Signed-off-by: mulhern <[email protected]>
@mulkieran
Copy link
Member Author

@GuillaumeGomez I was finding this change hard to explain...so I thought it would be more efficient to just do it. I think it will facilitate #1586.

Copy link
Contributor

@GuillaumeGomez GuillaumeGomez left a comment

Choose a reason for hiding this comment

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

Looks good!

@mulkieran mulkieran merged commit a03d262 into stratis-storage:master Jul 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.

4 participants