1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-26 15:42:21 +08:00

cmd/ipfs: add note about the plan for refactor

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2016-07-10 15:19:28 +02:00
parent 58526b25b5
commit d9bafb688d

View File

@ -230,7 +230,8 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
// Start assembling node config
ncfg := &core.BuildCfg{
Repo: repo,
Permament: true,
Permament: true, // It is temporary way to signify that node is permament
//TODO(Kubuxu): refactor Online vs Offline by adding Permement vs Epthemeral
}
offline, _, _ := req.Option(offlineKwd).Bool()
ncfg.Online = !offline