ipfs-cluster/consensus/raft
Hector Sanjuan ab1cc47d75 Fix #97: Assume default DataFolder as subfolder to config folder when empty.
We no longer set ConsensusDataFolder. We leave it empty (and ommited from the
configuration). When not set, it will take the path from which the configuration
file was read and use an "ipfs-cluster-data" subfolder in that path.

When set, the behaviour is just as before (ensures backwards compatiblity).

This will facilitate re-use of configuration files, for example, when mounting
them inside docker.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2017-07-18 11:36:24 +02:00
..
consensus_test.go Gitignore: Improve ignoring tests leftovers 2017-03-14 14:34:23 +01:00
consensus.go go lint, go vet, put the Consensus component behind interface. 2017-03-14 16:37:29 +01:00
log_op_test.go Issue #18: Move Consensus and PeerMonitor to its own submodules 2017-03-13 18:40:35 +01:00
log_op.go Issue #18: Move Consensus and PeerMonitor to its own submodules 2017-03-13 18:40:35 +01:00
raft.go Fix #97: Assume default DataFolder as subfolder to config folder when empty. 2017-07-18 11:36:24 +02:00