Skip to content

Commit

Permalink
add unhealthy state and error field
Browse files Browse the repository at this point in the history
  • Loading branch information
maximpertsov committed Aug 2, 2024
1 parent a6397fd commit df76c7a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion proto/viam/robot/v1/robot.proto
Original file line number Diff line number Diff line change
Expand Up @@ -389,11 +389,13 @@ message ResourceStatus {
STATE_UNCONFIGURED = 1;
// a resource that is being configured.
STATE_CONFIGURING = 2;
// a resource that has been successfully configured once and is not being
// a resource that has been successfully configured once, is healthy, and is not being
// re-configured or removed.
STATE_READY = 3;
// a resource that is being removed from the robot.
STATE_REMOVING = 4;
// a resource that is in an unheathy state.
STATE_UNHEALTHY = 5;
}

// resource name.
Expand All @@ -407,6 +409,9 @@ message ResourceStatus {

// revision of the last config that successfully updated this resource.
string revision = 4;

// error details for a resource that is in an unhealthy state.
string error = 5;
}

message ConfigStatus {
Expand Down

0 comments on commit df76c7a

Please sign in to comment.