Skip to content

Commit fbdd845

Browse files
authored
Merge pull request #473 from NetSys/fix-type
Fix the field type of `WorkerStatus`
2 parents fe813f1 + 4c599ed commit fbdd845

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protobuf/bess_msg.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ message ListWorkersResponse {
4646
message WorkerStatus {
4747
int64 wid = 1; /// Worker ID, starting from 0
4848
int64 core = 2; /// CPU core ID on which the worker is pinned
49-
int64 running = 3; /// 1 if running, or 0. TODO: bool
49+
bool running = 3; /// True if running, otherwise False.
5050

5151
/// Number of traffic classes running on the worker
5252
int64 num_tcs = 4;

0 commit comments

Comments
 (0)