Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3
Commits
38a6d0ea
Commit
38a6d0ea
authored
Nov 09, 2014
by
Brian Tiger Chow
Committed by
Juan Batiz-Benet
Nov 14, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(init) version
parent
8ffd27a6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
8 deletions
+1
-8
cmd/ipfs2/init.go
cmd/ipfs2/init.go
+1
-8
No files found.
cmd/ipfs2/init.go
View file @
38a6d0ea
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment