aboutsummaryrefslogtreecommitdiff
path: root/cmd/mi/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/mi/main.go')
-rw-r--r--cmd/mi/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/mi/main.go b/cmd/mi/main.go
index 069abfc..b7ed2ce 100644
--- a/cmd/mi/main.go
+++ b/cmd/mi/main.go
@@ -45,7 +45,7 @@ func main() {
mux.Handle(pb.SwitchTrackerPathPrefix, pb.NewSwitchTrackerServer(NewSwitchTracker(db)))
i := &Importer{db: db}
- i.Mount(mux)
+ i.Mount(http.DefaultServeMux)
mux.HandleFunc("/healthz", func(w http.ResponseWriter, r *http.Request) {
if err := db.Exec("select 1+1").Error; err != nil {