issue #157 fixed
This commit is contained in:
parent
60a18d39b7
commit
42f38df8ea
3
.gitignore
vendored
3
.gitignore
vendored
@ -9,4 +9,5 @@ _svrs_address.txt
|
|||||||
|
|
||||||
# other
|
# other
|
||||||
*.iml
|
*.iml
|
||||||
.DS_Store
|
.DS_Store
|
||||||
|
.idea
|
||||||
|
@ -160,7 +160,7 @@ func registerHandlers() {
|
|||||||
|
|
||||||
// coverprofile reports a coverage profile with the coverage percentage
|
// coverprofile reports a coverage profile with the coverage percentage
|
||||||
mux.HandleFunc("/v1/cover/profile", func(w http.ResponseWriter, r *http.Request) {
|
mux.HandleFunc("/v1/cover/profile", func(w http.ResponseWriter, r *http.Request) {
|
||||||
fmt.Fprint(w, "mode: {{.Mode }} \n")
|
fmt.Fprint(w, "mode: {{.Mode}}\n")
|
||||||
counters, blocks := loadValues()
|
counters, blocks := loadValues()
|
||||||
var active, total int64
|
var active, total int64
|
||||||
var count uint32
|
var count uint32
|
||||||
|
Loading…
Reference in New Issue
Block a user