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() {
172172 seen := make (map [string ]bool )
173173 for _ , p := range platforms {
174174 if seen [p .Name ()] {
175- log .Fatal ("Duplicate platforms entry for %s." , p .Name ())
175+ log .Fatalf ("Duplicate platforms entry for %s." , p .Name ())
176176 }
177177 seen [p .Name ()] = true
178178 }
@@ -224,7 +224,7 @@ func main() {
224224 cmd .Stderr = os .Stderr
225225 out , err := cmd .Output ()
226226 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 )
228228 }
229229 goRev = string (bytes .TrimSpace (out ))
230230 log .Printf ("using Go revision: %s" , goRev )
@@ -291,7 +291,7 @@ func (p *Platform) Build(ctx context.Context) error {
291291 default :
292292 // Creation sometimes fails with transient errors like:
293293 // "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 () )
295295 lastErr = err
296296 continue
297297 }
You can’t perform that action at this time.
0 commit comments