@cryptotaxi247 / kubo / commits / d9bafb688

cmd/ipfs: add note about the plan for refactor

License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>

Jakub Sztandera committed Jul 10, 2016 at 15:19 UTC d9bafb688d77adfc371f8fee03248b6905f5d268
1 file changed +2 -1
cmd/ipfs/daemon.go
+2 -1
@@ -230,7 +230,8 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
230 // Start assembling node config
231 ncfg := &core.BuildCfg{
232 Repo: repo,
233 - Permament: true,
233 + Permament: true, // It is temporary way to signify that node is permament
234 + //TODO(Kubuxu): refactor Online vs Offline by adding Permement vs Epthemeral
235 }
236 offline, _, _ := req.Option(offlineKwd).Bool()
237 ncfg.Online = !offline