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

netdeploy: Allow empty private network directory. #3911

Merged
merged 2 commits into from
Apr 28, 2022

Conversation

winder
Copy link
Contributor

@winder winder commented Apr 23, 2022

Summary

In order to run private networks in docker, it is convenient to mount
the data directory. By disallowing the network directory to exist it is
not possible to mount the node directory ahead of time.

Test Plan

Unit test for new utility function.

@winder winder requested review from algorandskiy and shiqizng April 23, 2022 17:43
@winder winder self-assigned this Apr 23, 2022
@winder winder force-pushed the will/allow-empty-network-dir branch 2 times, most recently from 4307ac0 to 059b205 Compare April 24, 2022 00:26
In order to run private networks in docker, it is convenient to mount
the data directory. By disallowing the network directory to exist it is
not possible to mount the node directory.
@winder winder force-pushed the will/allow-empty-network-dir branch from 059b205 to 1a3f137 Compare April 24, 2022 14:04
shiqizng
shiqizng previously approved these changes Apr 25, 2022
Copy link
Contributor

@algorandskiy algorandskiy left a comment

Choose a reason for hiding this comment

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

Good change, a small suggestion to decrease nesting - see below

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

Successfully merging this pull request may close these issues.

3 participants