Browse Source

Remove unhelpful name

Shelikhoo 4 years ago
parent
commit
71b2ff65f4
1 changed files with 0 additions and 2 deletions
  1. 0 2
      infra/conf/v2ray.go

+ 0 - 2
infra/conf/v2ray.go

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