1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

Remove unhelpful name

This commit is contained in:
Shelikhoo 2021-03-06 17:53:17 +00:00
parent f518b63157
commit 71b2ff65f4
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316

View File

@ -581,8 +581,6 @@ func (c *Config) Build() (*core.Config, error) {
protoregistry.GlobalTypes.RangeMessages(func(messageType protoreflect.MessageType) bool { protoregistry.GlobalTypes.RangeMessages(func(messageType protoreflect.MessageType) bool {
switch d := messageType.Descriptor().(type) { switch d := messageType.Descriptor().(type) {
case protoreflect.MessageDescriptor: case protoreflect.MessageDescriptor:
sb.WriteString(string(d.Name()))
sb.WriteString(":")
sb.WriteString(string(d.FullName())) sb.WriteString(string(d.FullName()))
sb.WriteString("\n") sb.WriteString("\n")
} }