Skip to content

Commit 67d41d3

Browse files
committed
proto: use CheckInitialized instead of IsInitialized
Change-Id: Idc03fc0c7afd81a69fcd6120c9472c9bc68ead4d Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/220346 Reviewed-by: Damien Neil <[email protected]>
1 parent c45dae4 commit 67d41d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

proto/proto.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ func (e *RequiredNotSetError) RequiredNotSet() bool {
119119
}
120120

121121
func checkRequiredNotSet(m protoV2.Message) error {
122-
if err := protoV2.IsInitialized(m); err != nil {
122+
if err := protoV2.CheckInitialized(m); err != nil {
123123
return &RequiredNotSetError{err: err}
124124
}
125125
return nil

0 commit comments

Comments
 (0)