mirror of
https://github.com/protocolbuffers/protobuf-go.git
synced 2025-01-01 11:58:21 +00:00
aa45c46752
In this CL, we switch the behavior of registration conflicts from simply logging a warning to panicking. This is a change that we have warned about ever since the release of v1.20.0 in 2020-03-02. For users that have not fixed their dependencies or are unable to, they may set the GOLANG_PROTOBUF_REGISTRATION_CONFLICT environment to "warn" in order to obtain the prior behavior of simply logging and ignoring subsequent conflicts (first wins). Change-Id: Ied7937f0fd5cb5d875858411714ebeb5ce145574 Reviewed-on: https://go-review.googlesource.com/c/protobuf/+/235298 Trust: Joe Tsai <joetsai@digital-static.net> Reviewed-by: Damien Neil <dneil@google.com> |
||
---|---|---|
.. | ||
registry_test.go | ||
registry.go |