Skip to content

Commit

Permalink
Use plugin reporter's logger when starting it
Browse files Browse the repository at this point in the history
Signed-off-by: Yoshiki Fujikane <[email protected]>
  • Loading branch information
ffjlabo committed Dec 25, 2024
1 parent 9b697dd commit 24fb566
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/app/pipedv1/livestatereporter/livestatereporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ func (r *reporter) Run(ctx context.Context) error {
for _, reporter := range r.reporters {
// Avoid starting all reporters at the same time to reduce the API call burst.
time.Sleep(10 * time.Second)
r.logger.Info("starting app live state reporter for plugin")

group.Go(func() error {
reporter.logger.Info("starting app live state reporter for plugin")
return reporter.Run(ctx)
})
}
Expand Down

0 comments on commit 24fb566

Please sign in to comment.