Skip to content

Commit 5ca3f85

Browse files
author
David Grieser
committed
Remove comments.
1 parent 8e75b16 commit 5ca3f85

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/proc/basejob.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ func (job *baseJob) startOnce(ctx context.Context, process chan<- *os.Process) e
217217
select {
218218
case <-time.After(time.Second * ShutdownWaitingTimeSeconds):
219219
// process seems to hang, kill process
220-
_ = job.signalAll(syscall.SIGKILL) // Use func for consistency
220+
_ = job.signalAll(syscall.SIGKILL)
221221
l.WithField("job.name", job.Config.Name).Error("forcefully killed job")
222222
return nil
223223

pkg/proc/job_common.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func (job *CommonJob) Status() *CommonJobStatus {
215215
}
216216
return &CommonJobStatus{
217217
Pid: pid,
218-
Running: running, // Use the 'running' variable determined above
218+
Running: running,
219219
Phase: job.phase,
220220
Config: job.Config,
221221
}

0 commit comments

Comments
 (0)