Commit 38a6d0ea authored by Brian Tiger Chow's avatar Brian Tiger Chow Committed by Juan Batiz-Benet

fix(init) version

parent 8ffd27a6
...@@ -11,7 +11,6 @@ import ( ...@@ -11,7 +11,6 @@ import (
config "github.com/jbenet/go-ipfs/config" config "github.com/jbenet/go-ipfs/config"
ci "github.com/jbenet/go-ipfs/crypto" ci "github.com/jbenet/go-ipfs/crypto"
peer "github.com/jbenet/go-ipfs/peer" peer "github.com/jbenet/go-ipfs/peer"
updates "github.com/jbenet/go-ipfs/updates"
u "github.com/jbenet/go-ipfs/util" u "github.com/jbenet/go-ipfs/util"
) )
...@@ -119,13 +118,7 @@ func doInit(configRoot string, dspath string, force bool, nBitsForKeypair int) e ...@@ -119,13 +118,7 @@ func doInit(configRoot string, dspath string, force bool, nBitsForKeypair int) e
// tracking ipfs version used to generate the init folder and adding // tracking ipfs version used to generate the init folder and adding
// update checker default setting. // update checker default setting.
Version: config.VersionDefaultValue(),
// FIXME(brian): before merging into master, change this to...
// Version: config.VersionDefaultValue()
Version: config.Version{
Check: "error",
Current: updates.Version,
},
} }
err = config.WriteConfigFile(configFilename, conf) err = config.WriteConfigFile(configFilename, conf)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment