Skip to content
This repository has been archived by the owner on Jan 6, 2024. It is now read-only.

Commit

Permalink
fix: minor bug
Browse files Browse the repository at this point in the history
  • Loading branch information
nabhan-au committed Apr 23, 2023
1 parent 32bd115 commit e078d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit e078d93

Please sign in to comment.