Explorar el Código

Remove unhelpful name

Shelikhoo hace 4 años
padre
commit
71b2ff65f4
Se han modificado 1 ficheros con 0 adiciones y 2 borrados
  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")
 			}