Skip to content

Commit

Permalink
Merge pull request gliderlabs#76 from dylanmei/initialize_route_optio…
Browse files Browse the repository at this point in the history
…ns_map

Initialize Route options map
  • Loading branch information
progrium committed Apr 17, 2015
2 parents 40f75ee + 530df5c commit d428516
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions router/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ func (rm *RouteManager) AddFromUri(uri string) error {
r := &Route{
Address: u.Host,
Adapter: u.Scheme,
Options: make(map[string]string),
}
if u.RawQuery != "" {
params, err := url.ParseQuery(u.RawQuery)
Expand Down

0 comments on commit d428516

Please sign in to comment.