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

Commit9a3e8f6

Browse files
committed
linting
1 parent321b8bf commit9a3e8f6

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

‎provisioner/terraform/executor.go‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,9 +603,9 @@ func (e *executor) apply(
603603
}
604604

605605
// `terraform show` & `terraform graph`
606-
//endGraph := e.timings.startStage(database.ProvisionerJobTimingStageGraph)
606+
//endGraph := e.timings.startStage(database.ProvisionerJobTimingStageGraph)
607607
state,err:=e.stateResources(ctx,killCtx)
608-
//endGraph(err)
608+
//endGraph(err)
609609
iferr!=nil {
610610
returnnil,err
611611
}

‎provisioner/terraform/timings.go‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,9 @@ func (t *timingAggregator) ingest(ts time.Time, s *timingSpan) {
109109
return
110110
}
111111

112-
ifs.stage!="" {
113-
// Explicitly set stage takes precedence.
112+
// Only set the stage if it hasn't already been set on the span.
113+
// Explicitly set stage takes precedence.
114+
ifs.stage=="" {
114115
s.stage=t.stage
115116
}
116117
ts=dbtime.Time(ts.UTC())

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp