We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parentc92903c commitcb1ec21Copy full SHA for cb1ec21
coderd/autobuild/lifecycle_executor.go
@@ -111,7 +111,7 @@ func (e *Executor) Run() {
111
pproflabel.Go(e.ctx,pproflabel.Service(pproflabel.ServiceLifecycles),func(ctx context.Context) {
112
for {
113
select {
114
-case<-e.ctx.Done():
+case<-ctx.Done():
115
return
116
caset,ok:=<-e.tick:
117
if!ok {
@@ -121,12 +121,12 @@ func (e *Executor) Run() {
121
e.metrics.autobuildExecutionDuration.Observe(stats.Elapsed.Seconds())
122
ife.statsCh!=nil {
123
124
125
126
casee.statsCh<-stats:
127
}
128
129
-e.log.Debug(e.ctx,"run stats",slog.F("elapsed",stats.Elapsed),slog.F("transitions",stats.Transitions))
+e.log.Debug(ctx,"run stats",slog.F("elapsed",stats.Elapsed),slog.F("transitions",stats.Transitions))
130
131
132
})