Skip to content

Commit

Permalink
fix field numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
enochtangg committed Dec 6, 2024
1 parent bbe63f1 commit b78bd2c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions proto/sentry_protos/sentry/v1/taskworker.proto
Original file line number Diff line number Diff line change
Expand Up @@ -132,11 +132,12 @@ message FetchNext {

message SetTaskStatusRequest {

Check failure on line 133 in proto/sentry_protos/sentry/v1/taskworker.proto

View workflow job for this annotation

GitHub Actions / buf-checks

Previously present field "4" with name "fetch_next" on message "SetTaskStatusRequest" was deleted.
string id = 1;
TaskActivationStatus status = 2;
TaskActivationStatus status = 3;

// If fetch_next is provided, receive a new task in the response
optional FetchNext fetch_next = 3;
optional FetchNext fetch_next = 5;

Check failure on line 138 in proto/sentry_protos/sentry/v1/taskworker.proto

View workflow job for this annotation

GitHub Actions / buf-checks

Field "5" with name "fetch_next" on message "SetTaskStatusRequest" changed option "json_name" from "fetchNextNamespace" to "fetchNext".

Check failure on line 138 in proto/sentry_protos/sentry/v1/taskworker.proto

View workflow job for this annotation

GitHub Actions / buf-checks

Field "5" with name "fetch_next" on message "SetTaskStatusRequest" changed type from "string" to "message".

Check failure on line 138 in proto/sentry_protos/sentry/v1/taskworker.proto

View workflow job for this annotation

GitHub Actions / buf-checks

Field "5" on message "SetTaskStatusRequest" changed name from "fetch_next_namespace" to "fetch_next".
}

message SetTaskStatusResponse {
// The next task the worker should execute. Requires fetch_next to be set on the request.
optional TaskActivation task = 1;
Expand Down

0 comments on commit b78bd2c

Please sign in to comment.