Skip to content

Commit

Permalink
cbft_docs uses NewRESTRouter()
Browse files Browse the repository at this point in the history
  • Loading branch information
steveyen committed Jun 23, 2015
1 parent d9d57cd commit f68d1d2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion cmd/cbft_docs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func main() {
mr, _ := cbgt.NewMsgRing(ioutil.Discard, 1)

router, meta, err :=
cbft.NewManagerRESTRouter(cbftCmd.VERSION, mgr,
cbft.NewRESTRouter(cbftCmd.VERSION, mgr,
staticDir, staticETag, mr)
if err != nil {
log.Panic(err)
Expand Down
10 changes: 5 additions & 5 deletions docs/api-ref.md
Original file line number Diff line number Diff line change
Expand Up @@ -595,11 +595,11 @@ Returns information on the node's capabilities,
GET `/api/diag`

Returns full set of diagnostic information
from the node in one shot as JSON. That is, the
/api/diag response will be the union of the responses
from the other REST API diagnostic and monitoring
endpoints from the node, and is intended to make
production support easier.
from the node in one shot as JSON. That is, the
/api/diag response will be the union of the responses
from the other REST API diagnostic and monitoring
endpoints from the node, and is intended to make
production support easier.

**version introduced**: 0.0.1

Expand Down
File renamed without changes.

0 comments on commit f68d1d2

Please sign in to comment.