aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2024-04-12 13:31:54 -0700
committerchrislu <chris.lu@gmail.com>2024-04-12 13:31:54 -0700
commit48fe50df8158ea436c0e55dbb1e64df114516dbe (patch)
treeddcba2734573c6b6e2e517fe7e53dc5ae503ff13
parent0cbf364a3d7d58721650700faf348b8d9a9612ed (diff)
downloadseaweedfs-48fe50df8158ea436c0e55dbb1e64df114516dbe.tar.xz
seaweedfs-48fe50df8158ea436c0e55dbb1e64df114516dbe.zip
minor
-rw-r--r--weed/pb/schema.proto2
-rw-r--r--weed/pb/schema_pb/schema.pb.go4
2 files changed, 3 insertions, 3 deletions
diff --git a/weed/pb/schema.proto b/weed/pb/schema.proto
index a7c6747c5..b55fb685e 100644
--- a/weed/pb/schema.proto
+++ b/weed/pb/schema.proto
@@ -5,7 +5,7 @@ package schema_pb;
option go_package = "github.com/seaweedfs/seaweedfs/weed/pb/schema_pb";
message RecordType {
- repeated Field fields = 2;
+ repeated Field fields = 1;
}
message Field {
diff --git a/weed/pb/schema_pb/schema.pb.go b/weed/pb/schema_pb/schema.pb.go
index 1eeed0fcf..5e87ebda8 100644
--- a/weed/pb/schema_pb/schema.pb.go
+++ b/weed/pb/schema_pb/schema.pb.go
@@ -86,7 +86,7 @@ type RecordType struct {
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
- Fields []*Field `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
+ Fields []*Field `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
}
func (x *RecordType) Reset() {
@@ -334,7 +334,7 @@ var file_schema_proto_rawDesc = []byte{
0x0a, 0x0c, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09,
0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x70, 0x62, 0x22, 0x36, 0x0a, 0x0a, 0x52, 0x65, 0x63,
0x6f, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64,
- 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
+ 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
0x5f, 0x70, 0x62, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64,
0x73, 0x22, 0x77, 0x0a, 0x05, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x23,