Skip to content

Commit

Permalink
Add server_offered_version to AgentInstallStatus (#11)
Browse files Browse the repository at this point in the history
This is an information field to help with troubleshooting.

Suggested here: https://docs.google.com/document/d/1auDpvnhnWGGUlXA5y2tNXt_NVwOlgTi7aLpKm9kvFPM/edit?disco=AAAAQu51GQY
  • Loading branch information
tigrannajaryan authored Nov 12, 2021
1 parent 9bb11a7 commit 2ea8076
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -767,18 +767,25 @@ performed by the agent and has the following structure:

```protobuf
message AgentInstallStatus {
bytes server_offered_hash = 1;
string server_offered_version = 1;
bytes server_offered_hash = 2;
enum Status {
INSTALLED = 0;
INSTALLING = 1;
INSTALL_FAILED = 2;
INSTALL_NO_PERMISSION = 3;
}
Status status = 2;
string error_message = 3;
Status status = 3;
string error_message = 4;
}
```

<h4 id="server_offered_version">server_offered_version</h4>

The version field from the AgentPackageAvailable that the server offered to the
agent. MUST be set if the agent previously received an offer from the server to
install this agent.


<h4 id="server_offered_hash">server_offered_hash</h4>

Expand Down

0 comments on commit 2ea8076

Please sign in to comment.