diff --git a/cmd/csi-node-driver-registrar/node_register.go b/cmd/csi-node-driver-registrar/node_register.go index a29106541..54ba1f187 100644 --- a/cmd/csi-node-driver-registrar/node_register.go +++ b/cmd/csi-node-driver-registrar/node_register.go @@ -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) {