Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitcb1ec21

Browse files
committed
linting
1 parentc92903c commitcb1ec21

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
caset,ok:=<-e.tick:
117117
if!ok {
@@ -121,12 +121,12 @@ func (e *Executor) Run() {
121121
e.metrics.autobuildExecutionDuration.Observe(stats.Elapsed.Seconds())
122122
ife.statsCh!=nil {
123123
select {
124-
case<-e.ctx.Done():
124+
case<-ctx.Done():
125125
return
126126
casee.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)

[8]ページ先頭

©2009-2025 Movatter.jp