Update module prometheus/client_golang to v1.7.0 (#589)
Update module prometheus/client_golang to v1.7.0 Reviewed-on: https://kolaente.dev/vikunja/api/pulls/589
This commit is contained in:
5
vendor/google.golang.org/protobuf/proto/size.go
generated
vendored
5
vendor/google.golang.org/protobuf/proto/size.go
generated
vendored
@ -18,6 +18,11 @@ func Size(m Message) int {
|
||||
|
||||
// Size returns the size in bytes of the wire-format encoding of m.
|
||||
func (o MarshalOptions) Size(m Message) int {
|
||||
// Treat a nil message interface as an empty message; nothing to output.
|
||||
if m == nil {
|
||||
return 0
|
||||
}
|
||||
|
||||
return sizeMessage(m.ProtoReflect())
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user