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

Commit 53cddd3

Browse files
authored
Merge pull request #3 from resource-aware-jds/develop
fix: minor bug
2 parents 0056234 + e078d93 commit 53cddd3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ func main() {
3535

3636
totalJob := 10
3737

38-
for i := 1; i < totalJob; i++ {
38+
for i := 0; i < totalJob; i++ {
3939
fmt.Println("Current: ", i)
4040
computeNodeClient.ReportJob(ctx, &proto.ReportJobRequest{JobID: jobID, TotalJob: int64(totalJob), CurrentJob: int64(i + 1)})
4141
time.Sleep(1 * time.Second)

0 commit comments

Comments
 (0)