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

Extract SetVolumeOwner function in dockerutil #210

Merged
merged 2 commits into from
Jul 14, 2022

Conversation

mark-rushakoff
Copy link
Member

This behavior already existed internally in the relayer docker
boilerplate; extract it to a standalone function in the dockerutil
package so that it can be used more generally, in an upcoming change to
use volumes for cosmos chain containers.

Also move the busybox helpers to their own file.

This behavior already existed internally in the relayer docker
boilerplate; extract it to a standalone function in the dockerutil
package so that it can be used more generally, in an upcoming change to
use volumes for cosmos chain containers.
These are referenced in at least two different places, so put them in
busybox.go for slightly easier discovery.
@mark-rushakoff mark-rushakoff requested a review from a team as a code owner July 14, 2022 19:41
Copy link
Member

@jtieri jtieri left a comment

Choose a reason for hiding this comment

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

volumeowner.go is the meat of this PR and I'm somewhat of a Docker noob so I don't fully understand some of the choices here, but looks valid when comparing to the existing code that this is replacing. 👍

@mark-rushakoff mark-rushakoff merged commit 80fc355 into main Jul 14, 2022
@mark-rushakoff mark-rushakoff deleted the refactor/set-volume-owner branch July 14, 2022 20:57
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