diff --git a/encoding/protobuf/parse.go b/encoding/protobuf/parse.go index 5902bfb1318..9cb342b8a68 100644 --- a/encoding/protobuf/parse.go +++ b/encoding/protobuf/parse.go @@ -756,7 +756,7 @@ func (p *optionParser) parse(options []*proto.Option) { // - interpret CUE options. for _, o := range options { switch o.Name { - case "(cue_opt).required": + case "(cue.opt).required": p.required = true // TODO: Dropping comments. Maybe add a dummy tag?