Skip to content

Commit

Permalink
pr refactor.
Browse files Browse the repository at this point in the history
  • Loading branch information
Marian Craciunescu committed Feb 7, 2017
1 parent e99e9f3 commit a7ddc4d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/router/router.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const (
handleChannelCapacity = 500
subscribeChannelCapacity = 10
unsubscribeChannelCapacity = 10
routerPrefix = "/admin/router"
prefix = "/admin/router"
)

// Router interface provides a mechanism for PubSub messaging
Expand Down Expand Up @@ -464,5 +464,5 @@ func (router *router) ServeHTTP(w http.ResponseWriter, req *http.Request) {
}

func (router *router) GetPrefix() string {
return routerPrefix
return prefix
}

0 comments on commit a7ddc4d

Please sign in to comment.