Skip to content

Commit

Permalink
Add back nullalble = false for DeadlockRequest.entry (#1263)
Browse files Browse the repository at this point in the history
Signed-off-by: MyonKeminta <[email protected]>
Co-authored-by: MyonKeminta <[email protected]>
  • Loading branch information
MyonKeminta and MyonKeminta authored Sep 4, 2024
1 parent c2c652b commit 1de8acc
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 61 deletions.
110 changes: 51 additions & 59 deletions pkg/deadlock/deadlock.pb.go

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

2 changes: 1 addition & 1 deletion proto/deadlock.proto
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ message ReplaceLocksByKeysRequest {

message DeadlockRequest {
DeadlockRequestType tp = 1;
WaitForEntry entry = 2;
WaitForEntry entry = 2 [(gogoproto.nullable) = false];
ReplaceLocksByKeysRequest replace_locks_by_keys = 3;
}

Expand Down
8 changes: 7 additions & 1 deletion scripts/proto.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3569,7 +3569,13 @@
{
"id": 2,
"name": "entry",
"type": "WaitForEntry"
"type": "WaitForEntry",
"options": [
{
"name": "(gogoproto.nullable)",
"value": "false"
}
]
},
{
"id": 3,
Expand Down

0 comments on commit 1de8acc

Please sign in to comment.