Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
go-libp2p
Commits
8faf5403
Commit
8faf5403
authored
Oct 19, 2018
by
vyzo
Browse files
fix typo
parent
8d108ddd
Changes
1
Hide whitespace changes
Inline
Side-by-side
options.go
View file @
8faf5403
...
...
@@ -264,7 +264,7 @@ func Ping(enable bool) Option {
func
Routing
(
rt
config
.
RoutingC
)
Option
{
return
func
(
cfg
*
Config
)
error
{
if
cfg
.
Routing
!=
nil
{
return
fmt
.
Errorf
(
"cannot specif
ied
multiple routing options"
)
return
fmt
.
Errorf
(
"cannot specif
y
multiple routing options"
)
}
cfg
.
Routing
=
rt
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