diff --git a/nomad/job_endpoint_test.go b/nomad/job_endpoint_test.go index 7b08ed55b44..93b9acfa024 100644 --- a/nomad/job_endpoint_test.go +++ b/nomad/job_endpoint_test.go @@ -7673,7 +7673,7 @@ func TestJobEndpoint_Scale_BatchJob(t *testing.T) { state := testServer.fsm.State() mockBatchJob := mock.BatchJob() - must.NoError(t, state.UpsertJob(structs.MsgTypeTestSetup, 10, nil, mockBatchJob)) + must.NoError(t, state.UpsertJob(structs.MsgTypeTestSetup, 10, mockBatchJob)) scaleReq := &structs.JobScaleRequest{ JobID: mockBatchJob.ID,