issue #157 fixed

This commit is contained in:
tangyq 2021-01-26 17:09:16 +08:00
parent 60a18d39b7
commit 42f38df8ea
2 changed files with 3 additions and 2 deletions

1
.gitignore vendored
View File

@ -10,3 +10,4 @@ _svrs_address.txt
# other
*.iml
.DS_Store
.idea

View File

@ -160,7 +160,7 @@ func registerHandlers() {
// coverprofile reports a coverage profile with the coverage percentage
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()
var active, total int64
var count uint32