Skip to content

Commit

Permalink
Add the ability to return reboot result and failure information in Re…
Browse files Browse the repository at this point in the history
…bootStatusResponse message.
  • Loading branch information
akarshgupta25 committed Oct 26, 2023
1 parent 16923a8 commit 41783f0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions system/system.proto
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@ message RebootStatusResponse {
uint64 when = 3; // Time to reboot in nanoseconds since the epoch.
string reason = 4; // Reason for reboot.
uint32 count = 5; // Number of reboots since active.
RebootMethod method = 6; // Type of reboot.
bool success = 7; // If reboot operation was successful.
RebootFailureInfo fail_info = 8; // Failure information.
}

message RebootFailureInfo {
string message = 1; // Error message.
bool fatal = 2; // If the failure is fatal.
}

// A TimeRequest requests the current time accodring to the target.
Expand Down

0 comments on commit 41783f0

Please sign in to comment.