Browse Source

fix ordering

mq-subscribe
chrislu 8 months ago
parent
commit
d7e5f6b2a5
  1. 2
      weed/mq/schema/schema_builder.go

2
weed/mq/schema/schema_builder.go

@ -64,7 +64,7 @@ func (rtb *RecordTypeBuilder) AddStringField(name string) *RecordTypeBuilder {
func (rtb *RecordTypeBuilder) AddRecordField(name string, recordTypeBuilder *RecordTypeBuilder) *RecordTypeBuilder {
rtb.recordType.Fields = append(rtb.recordType.Fields, &schema_pb.Field{
Name: name,
Type: &schema_pb.Type{Kind: &schema_pb.Type_RecordType{RecordType: recordTypeBuilder.recordType}},
Type: &schema_pb.Type{Kind: &schema_pb.Type_RecordType{RecordType: recordTypeBuilder.Build()}},
})
return rtb
}

Loading…
Cancel
Save