Skip to content

Commit

Permalink
Fix error in format string on deadline grace period
Browse files Browse the repository at this point in the history
  • Loading branch information
dalehamel committed Sep 18, 2019
1 parent c0f61a9 commit 7f9d490
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/tracejob/job.go
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,7 @@ func (t *TraceJobClient) CreateJob(nj TraceJob) (*batchv1.Job, error) {
Command: []string{
"/bin/bash",
"-c",
fmt.Sprintf("kill -SIGINT $(pidof bpftrace) && sleep %i", strconv.FormatInt(nj.DeadlineGracePeriod, 10)),
fmt.Sprintf("kill -SIGINT $(pidof bpftrace) && sleep %s", strconv.FormatInt(nj.DeadlineGracePeriod, 10)),
},
},
},
Expand Down

0 comments on commit 7f9d490

Please sign in to comment.