From 631840e454dbeaa61e3218402fc7e67fe64ca0e7 Mon Sep 17 00:00:00 2001 From: joshvanl Date: Thu, 2 Oct 2025 13:07:25 +0100 Subject: [PATCH] Jobs: don't force data payload There is no requirement for a job to have a data payload. Remove this check on the jobs client. Signed-off-by: joshvanl --- client/jobs.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/client/jobs.go b/client/jobs.go index 7899d3c4..9c541fd9 100644 --- a/client/jobs.go +++ b/client/jobs.go @@ -160,9 +160,6 @@ func (c *GRPCClient) ScheduleJobAlpha1(ctx context.Context, job *Job) error { if job.Name == "" { return errors.New("job name is required") } - if job.Data == nil { - return errors.New("job data is required") - } jobRequest := &runtimepb.Job{ Name: job.Name,