File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
coderd/provisionerdserver Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,7 @@ func TestAcquirer_MatchTags(t *testing.T) {
548
548
lines = append (lines , s )
549
549
}
550
550
t .Logf ("You can paste this into docs/admin/provisioners.md" )
551
- t .Log ( "%s" , strings .Join (lines , "\n " ))
551
+ t .Logf ( strings .Join (lines , "\n " ))
552
552
})
553
553
}
554
554
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ func (s *server) Plan(
78
78
79
79
e := s .executor (sess .WorkDirectory , database .ProvisionerJobTimingStagePlan )
80
80
if err := e .checkMinVersion (ctx ); err != nil {
81
- return provisionersdk .PlanErrorf ("%s" , err .Error ())
81
+ return provisionersdk .PlanErrorf (err .Error ())
82
82
}
83
83
logTerraformEnvVars (sess )
84
84
@@ -168,7 +168,7 @@ func (s *server) Plan(
168
168
request .Metadata .GetWorkspaceTransition () == proto .WorkspaceTransition_DESTROY ,
169
169
)
170
170
if err != nil {
171
- return provisionersdk .PlanErrorf ("%s" , err .Error ())
171
+ return provisionersdk .PlanErrorf (err .Error ())
172
172
}
173
173
174
174
// Prepend init timings since they occur prior to plan timings.
@@ -189,7 +189,7 @@ func (s *server) Apply(
189
189
190
190
e := s .executor (sess .WorkDirectory , database .ProvisionerJobTimingStageApply )
191
191
if err := e .checkMinVersion (ctx ); err != nil {
192
- return provisionersdk .ApplyErrorf ("%s" , err .Error ())
192
+ return provisionersdk .ApplyErrorf (err .Error ())
193
193
}
194
194
logTerraformEnvVars (sess )
195
195
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ func TestTimingsFromProvision(t *testing.T) {
28
28
// Given: a fake terraform bin that behaves as we expect it to.
29
29
fakeBin := filepath .Join (cwd , "testdata" , "timings-aggregation/fake-terraform.sh" )
30
30
31
- t .Log ( "%s" , fakeBin )
31
+ t .Logf ( fakeBin )
32
32
33
33
ctx , api := setupProvisioner (t , & provisionerServeOptions {
34
34
binaryPath : fakeBin ,
You can’t perform that action at this time.
0 commit comments