chore: make go-lint happy (#405)

Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
This commit is contained in:
Peter Pan
2023-05-12 19:24:30 +08:00
committed by GitHub
parent 50916f2c93
commit ed73485d92
10 changed files with 17 additions and 16 deletions

View File

@@ -107,7 +107,7 @@ func (s *Config) healthzHandler(w http.ResponseWriter, r *http.Request) {
http.Error(w, err.Error(), http.StatusInternalServerError)
return
}
fmt.Fprintf(w, string(js))
fmt.Fprint(w, string(js))
}
func getBoolParam(param string) bool {