Skip to content

Commit 7f9d490

Browse files
committed
Fix error in format string on deadline grace period
1 parent c0f61a9 commit 7f9d490

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/tracejob/job.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ func (t *TraceJobClient) CreateJob(nj TraceJob) (*batchv1.Job, error) {
312312
Command: []string{
313313
"/bin/bash",
314314
"-c",
315-
fmt.Sprintf("kill -SIGINT $(pidof bpftrace) && sleep %i", strconv.FormatInt(nj.DeadlineGracePeriod, 10)),
315+
fmt.Sprintf("kill -SIGINT $(pidof bpftrace) && sleep %s", strconv.FormatInt(nj.DeadlineGracePeriod, 10)),
316316
},
317317
},
318318
},

0 commit comments

Comments
 (0)