chore: drop extra debugging for one-off jobs
This commit is contained in:
@@ -924,15 +924,6 @@ func TriggerSchedulerRun(scheduler string, appName string, envCount int, args []
|
|||||||
color.NoColor = false
|
color.NoColor = false
|
||||||
}
|
}
|
||||||
|
|
||||||
err = writeResourceToFile(WriteResourceInput{
|
|
||||||
Object: &job,
|
|
||||||
Path: "/tmp/job.yaml",
|
|
||||||
})
|
|
||||||
if err != nil {
|
|
||||||
return fmt.Errorf("Error writing job: %w", err)
|
|
||||||
}
|
|
||||||
common.CatFile("/tmp/job.yaml")
|
|
||||||
|
|
||||||
ctx, cancel := context.WithCancel(context.Background())
|
ctx, cancel := context.WithCancel(context.Background())
|
||||||
signals := make(chan os.Signal, 1)
|
signals := make(chan os.Signal, 1)
|
||||||
signal.Notify(signals, os.Interrupt, syscall.SIGHUP,
|
signal.Notify(signals, os.Interrupt, syscall.SIGHUP,
|
||||||
|
|||||||
Reference in New Issue
Block a user