diff --git a/main.go b/main.go index 45b544b..d64c68c 100644 --- a/main.go +++ b/main.go @@ -35,7 +35,7 @@ func main() { totalJob := 10 - for i := 1; i < totalJob; i++ { + for i := 0; i < totalJob; i++ { fmt.Println("Current: ", i) computeNodeClient.ReportJob(ctx, &proto.ReportJobRequest{JobID: jobID, TotalJob: int64(totalJob), CurrentJob: int64(i + 1)}) time.Sleep(1 * time.Second)