Commit 8faf5403 authored by vyzo's avatar vyzo
Browse files

fix typo

parent 8d108ddd
...@@ -264,7 +264,7 @@ func Ping(enable bool) Option { ...@@ -264,7 +264,7 @@ func Ping(enable bool) Option {
func Routing(rt config.RoutingC) Option { func Routing(rt config.RoutingC) Option {
return func(cfg *Config) error { return func(cfg *Config) error {
if cfg.Routing != nil { if cfg.Routing != nil {
return fmt.Errorf("cannot specified multiple routing options") return fmt.Errorf("cannot specify multiple routing options")
} }
cfg.Routing = rt cfg.Routing = rt
return nil return nil
......
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