Skip to content

Commit

Permalink
PMM-11603 Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
JiriCtvrtka committed Sep 12, 2023
1 parent 9af8a27 commit 316e62e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions agent/commands/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func Run() {
cancel()
}()

processClientUntilCancel(ctx, client, reloadCh, l)
processClientUntilCancel(ctx, client, reloadCh)

cleanupTmp(cfg.Paths.TempDir, l)
wg.Wait()
Expand All @@ -106,7 +106,7 @@ func Run() {
}
}

func processClientUntilCancel(ctx context.Context, client *client.Client, reloadCh chan bool, l *logrus.Entry) {
func processClientUntilCancel(ctx context.Context, client *client.Client, reloadCh chan bool) {
for {
clientCtx, cancelClientCtx := context.WithCancel(ctx)
client.Run(clientCtx)
Expand Down

0 comments on commit 316e62e

Please sign in to comment.