Skip to content

Commit 5190b59

Browse files
committed
misc: fix log line missed in #558
1 parent 4d4dbc9 commit 5190b59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/agent/run.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import (
77
"fmt"
88
"io"
99
"io/ioutil"
10+
"log"
1011
"net/http"
1112
_ "net/http/pprof"
1213
"net/url"
@@ -137,7 +138,7 @@ func Run(cmd *cobra.Command, args []string) {
137138
go func() {
138139
err := preflightClient.(manager.Runnable).Start(ctx)
139140
if err != nil {
140-
log.Fatalf("failed to start a controller-runtime component: %v", err)
141+
logs.Log.Fatalf("failed to start a controller-runtime component: %v", err)
141142
}
142143

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

0 commit comments

Comments
 (0)