소스 검색

Remove unhelpful name

Shelikhoo 4 년 전
부모
커밋
71b2ff65f4
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  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")
 			}