File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -172,7 +172,7 @@ func init() {
172
172
seen := make (map [string ]bool )
173
173
for _ , p := range platforms {
174
174
if seen [p .Name ()] {
175
- log .Fatal ("Duplicate platforms entry for %s." , p .Name ())
175
+ log .Fatalf ("Duplicate platforms entry for %s." , p .Name ())
176
176
}
177
177
seen [p .Name ()] = true
178
178
}
@@ -224,7 +224,7 @@ func main() {
224
224
cmd .Stderr = os .Stderr
225
225
out , err := cmd .Output ()
226
226
if err != nil {
227
- log .Fatal ("%s failed: %v" , strings .Join (cmd .Args , " " ), err )
227
+ log .Fatalf ("%s failed: %v" , strings .Join (cmd .Args , " " ), err )
228
228
}
229
229
goRev = string (bytes .TrimSpace (out ))
230
230
log .Printf ("using Go revision: %s" , goRev )
@@ -291,7 +291,7 @@ func (p *Platform) Build(ctx context.Context) error {
291
291
default :
292
292
// Creation sometimes fails with transient errors like:
293
293
// "buildlet didn't come up at http://10.240.0.13 in 3m0s".
294
- log .Printf ("%v: instance creation failed, retrying" , p .Name )
294
+ log .Printf ("%v: instance creation failed, retrying" , p .Name () )
295
295
lastErr = err
296
296
continue
297
297
}
You can’t perform that action at this time.
0 commit comments