Skip to content

Commit

Permalink
Correct the handler used in serving http requests, fixes #188
Browse files Browse the repository at this point in the history
  • Loading branch information
cnmcavoy committed Mar 30, 2022
1 parent 86cc0bb commit 55e52b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/csi-node-driver-registrar/node_register.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func httpServer(socketPath string, httpEndpoint string) {
mux.HandleFunc("/debug/pprof/trace", pprof.Trace)
}

klog.Fatal(http.ListenAndServe(httpEndpoint, nil))
klog.Fatal(http.ListenAndServe(httpEndpoint, mux))
}

func removeRegSocket(csiDriverName string) {
Expand Down

0 comments on commit 55e52b5

Please sign in to comment.