Lint: remove unused function.

Signed-off-by: David Anderson <dave@natulte.net>
pull/61/head
David Anderson 5 years ago
parent 57bbafde84
commit 5868dd1a77

@ -222,14 +222,6 @@ func saveConfig(path string, cfg controlclient.Persist) error {
return nil return nil
} }
func readOrFatal(filename string) string {
b, err := ioutil.ReadFile(filename)
if err != nil {
log.Fatalf("%v: ReadFile: %v\n", filename, err)
}
return string(b)
}
func runDebugServer(addr string) { func runDebugServer(addr string) {
mux := http.NewServeMux() mux := http.NewServeMux()
mux.HandleFunc("/debug/pprof/", pprof.Index) mux.HandleFunc("/debug/pprof/", pprof.Index)

Loading…
Cancel
Save