Merge pull request #158 from eyotang/master

issue #157 fixed
This commit is contained in:
qiniu-bot 2021-01-26 19:26:33 +08:00 committed by GitHub
commit d528b82005
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

3
.gitignore vendored
View File

@ -9,4 +9,5 @@ _svrs_address.txt
# other
*.iml
.DS_Store
.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