Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d175898

Browse files
authoredAug 9, 2024
Remove accidental optional keyword. (p4lang#494)
Fixes p4lang#482 Signed-off-by: Steffen Smolka <[email protected]>
1 parent 48e9ce8 commit d175898

File tree

3 files changed

+169
-179
lines changed

3 files changed

+169
-179
lines changed
 

‎go/p4/config/v1/p4info.pb.go

+137-139
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎proto/p4/config/v1/p4info.proto

+1-1
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ message ActionProfile {
311311
// single selector group respectively.
312312
message SumOfMembers {
313313
// the maximum weight of each individual member in a group.
314-
optional int32 max_member_weight = 1;
314+
int32 max_member_weight = 1;
315315
}
316316

317317
// specifies the semantics of `size` and `max_group_size` above

‎py/p4/config/v1/p4info_pb2.py

+31-39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.