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
5a632f70
Commit
5a632f70
authored
Mar 20, 2018
by
Łukasz Magiera
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix default-net profile not reverting bootstrap config
License: MIT Signed-off-by:
Łukasz Magiera
<
magik6k@gmail.com
>
parent
8c2a4206
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
repo/config/profile.go
repo/config/profile.go
+6
-0
No files found.
repo/config/profile.go
View file @
5a632f70
...
...
@@ -86,6 +86,12 @@ Inverse profile of the test profile.`,
Transform
:
func
(
c
*
Config
)
error
{
c
.
Addresses
=
addressesConfig
()
bootstrapPeers
,
err
:=
DefaultBootstrapPeers
()
if
err
!=
nil
{
return
err
}
c
.
Bootstrap
=
appendSingle
(
c
.
Bootstrap
,
BootstrapPeerStrings
(
bootstrapPeers
))
c
.
Swarm
.
DisableNatPortMap
=
false
c
.
Discovery
.
MDNS
.
Enabled
=
true
return
nil
...
...
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