mirror of
https://github.com/tailscale/tailscale.git
synced 2025-02-16 18:08:40 +00:00
Lint: remove unused function.
Signed-off-by: David Anderson <dave@natulte.net>
This commit is contained in:
parent
57bbafde84
commit
5868dd1a77
@ -222,14 +222,6 @@ func saveConfig(path string, cfg controlclient.Persist) error {
|
||||
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) {
|
||||
mux := http.NewServeMux()
|
||||
mux.HandleFunc("/debug/pprof/", pprof.Index)
|
||||
|
Loading…
x
Reference in New Issue
Block a user