Skip to content

Commit cb1ec21

Browse files
committed
linting
1 parent c92903c commit cb1ec21

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

coderd/autobuild/lifecycle_executor.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ func (e *Executor) Run() {
111111
pproflabel.Go(e.ctx, pproflabel.Service(pproflabel.ServiceLifecycles), func(ctx context.Context) {
112112
for {
113113
select {
114-
case <-e.ctx.Done():
114+
case <-ctx.Done():
115115
return
116116
case t, ok := <-e.tick:
117117
if !ok {
@@ -121,12 +121,12 @@ func (e *Executor) Run() {
121121
e.metrics.autobuildExecutionDuration.Observe(stats.Elapsed.Seconds())
122122
if e.statsCh != nil {
123123
select {
124-
case <-e.ctx.Done():
124+
case <-ctx.Done():
125125
return
126126
case e.statsCh <- stats:
127127
}
128128
}
129-
e.log.Debug(e.ctx, "run stats", slog.F("elapsed", stats.Elapsed), slog.F("transitions", stats.Transitions))
129+
e.log.Debug(ctx, "run stats", slog.F("elapsed", stats.Elapsed), slog.F("transitions", stats.Transitions))
130130
}
131131
}
132132
})

0 commit comments

Comments
 (0)