07acf0e574
Previously, we ran setup if no config file was found in the expected dir. However, there may be situations where a previously set up node's files may be unreachable. In this case, we would prefer to exit with an error rather than assume this node needs to be initialized. The solution here is to add a new env variable to call the setup command. If SETUP == true, the node will setup, but not run. If SETUP != true, the node will run and not setup. If a previously set up node runs with SETUP, it will return an error. If a node runs without an initial SETUP, it will return an error. Change-Id: Id2c796ec3d43f2add5e5f34fb777a563eae59f2f |
||
---|---|---|
.. | ||
dashboard.go | ||
dashboard.sh | ||
deprecated.go | ||
Dockerfile | ||
entrypoint | ||
gracefulexit_test.go | ||
gracefulexit.go | ||
main_test.go | ||
main.go | ||
storagenode.yaml | ||
windows.go |