mirror of
https://github.com/ipfs/kubo.git
synced 2025-06-26 23:53:19 +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:
@ -230,7 +230,8 @@ func daemonFunc(req cmds.Request, res cmds.Response) {
|
|||||||
// Start assembling node config
|
// Start assembling node config
|
||||||
ncfg := &core.BuildCfg{
|
ncfg := &core.BuildCfg{
|
||||||
Repo: repo,
|
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()
|
offline, _, _ := req.Option(offlineKwd).Bool()
|
||||||
ncfg.Online = !offline
|
ncfg.Online = !offline
|
||||||
|
Reference in New Issue
Block a user