Skip to content

Commit 3a6dbbb

Browse files
committed
Added 'percent' to TaskProgress gRPC message
1 parent 41328fe commit 3a6dbbb

File tree

2 files changed

+51
-39
lines changed

2 files changed

+51
-39
lines changed

rpc/cc/arduino/cli/commands/v1/common.pb.go

Lines changed: 49 additions & 39 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rpc/cc/arduino/cli/commands/v1/common.proto

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@ message TaskProgress {
4444
string message = 2;
4545
// Whether the task is complete.
4646
bool completed = 3;
47+
// Amount in percent of the task completion (optional)
48+
float percent = 4;
4749
}
4850

4951
message Programmer {

0 commit comments

Comments
 (0)