Skip to content

Commit

Permalink
Remove unnecessary code and print statements
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasmaurice committed Feb 15, 2024
1 parent ed0efcf commit a01ffb0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions satisfactory-exporter/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ func main() {

http.HandleFunc("/-/healthy", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte(`ok`))
w.WriteHeader(http.StatusOK)
})

http.HandleFunc("/metrics", func(w http.ResponseWriter, r *http.Request) {
Expand All @@ -68,7 +67,6 @@ func main() {
enabledCollectors = "production,power,factory_building,vehicle,drone_station,vehicle_station,train,train_station,player"
}
for _, collector := range strings.Split(enabledCollectors, ",") {
fmt.Println("Registering collector: ", collector)
switch collector {
case "production":
registry.MustRegister(exporter.NewProductionCollector(*frmApiAddress, logger))
Expand Down

0 comments on commit a01ffb0

Please sign in to comment.