Skip to content

Commit

Permalink
Use correct value names for ServerErrorResponseType
Browse files Browse the repository at this point in the history
  • Loading branch information
tigrannajaryan committed Aug 3, 2022
1 parent fa48757 commit 860bc11
Show file tree
Hide file tree
Showing 2 changed files with 84 additions and 83 deletions.
6 changes: 3 additions & 3 deletions internal/proto/opamp.proto
Original file line number Diff line number Diff line change
Expand Up @@ -444,16 +444,16 @@ enum ServerErrorResponseType {
// Unknown error. Something went wrong, but it is not known what exactly.
// The Agent SHOULD NOT retry the message.
// The error_message field may contain a description of the problem.
ServerErrorResponse_Unknown = 0;
ServerErrorResponseType_Unknown = 0;

// The AgentToServer message was malformed. The Agent SHOULD NOT retry
// the message.
ServerErrorResponse_BadRequest = 1;
ServerErrorResponseType_BadRequest = 1;

// The Server is overloaded and unable to process the request. The Agent
// should retry the message later. retry_info field may be optionally
// set with additional information about retrying.
ServerErrorResponse_Unavailable = 2;
ServerErrorResponseType_Unavailable = 2;
}

message RetryInfo {
Expand Down
161 changes: 81 additions & 80 deletions protobufs/opamp.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 860bc11

Please sign in to comment.