diff --git a/cmd/controller/main.go b/cmd/controller/main.go index e0177c86d1..b695baaa4c 100644 --- a/cmd/controller/main.go +++ b/cmd/controller/main.go @@ -19,7 +19,6 @@ import ( "net/http" "os" "path/filepath" - "reflect" "strings" "sync" "time" @@ -149,7 +148,7 @@ func main() { for _, r := range rs { go func(rr runner) { if runErr := rr.Run(workers, stop); runErr != nil { - logger.WithError(runErr).Fatalf("could not start runner: %s", reflect.TypeOf(rr)) + logger.WithError(runErr).Fatalf("could not start runner: %T", rr) } }(r) }