Skip to content

Commit

Permalink
fix log line missed in #558
Browse files Browse the repository at this point in the history
  • Loading branch information
maelvls committed Aug 20, 2024
1 parent 8e89554 commit e8dff2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/agent/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"fmt"
"io"
"io/ioutil"
"log"
"net/http"
_ "net/http/pprof"
"net/url"
Expand Down Expand Up @@ -137,7 +138,7 @@ func Run(cmd *cobra.Command, args []string) {
go func() {
err := preflightClient.(manager.Runnable).Start(ctx)
if err != nil {
log.Fatalf("failed to start a controller-runtime component: %v", err)
logs.Log.Fatalf("failed to start a controller-runtime component: %v", err)
}

// The agent must stop if the controller-runtime component stops.
Expand Down

0 comments on commit e8dff2b

Please sign in to comment.