Update ServiceVersion proto to only include skylab-specific version number
Change-Id: Iff036676893dc7094c6f1eefe7a04fcc87361241
Bug: 1137410
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/infra/proto/+/2612185
Reviewed-by: Prathmesh Prabhu <pprabhu@google.com>
Commit-Queue: Jared Loucks <jaredloucks@google.com>
diff --git a/go/test_platform/service_version.pb.go b/go/test_platform/service_version.pb.go
index b936b1a..8926f1b 100644
--- a/go/test_platform/service_version.pb.go
+++ b/go/test_platform/service_version.pb.go
@@ -25,7 +25,7 @@
// and dut_leaser). It is used to ensure that users keep their local versions
// of such services up-to-date.
type ServiceVersion struct {
- Global int64 `protobuf:"varint,1,opt,name=global,proto3" json:"global,omitempty"`
+ SkylabTool int64 `protobuf:"varint,2,opt,name=skylab_tool,json=skylabTool,proto3" json:"skylab_tool,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
@@ -56,9 +56,9 @@
var xxx_messageInfo_ServiceVersion proto.InternalMessageInfo
-func (m *ServiceVersion) GetGlobal() int64 {
+func (m *ServiceVersion) GetSkylabTool() int64 {
if m != nil {
- return m.Global
+ return m.SkylabTool
}
return 0
}
@@ -72,14 +72,16 @@
}
var fileDescriptor_418c2109a1e5e267 = []byte{
- // 138 bytes of a gzipped FileDescriptorProto
+ // 162 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x52, 0x2e, 0x49, 0x2d, 0x2e,
0x89, 0x2f, 0xc8, 0x49, 0x2c, 0x49, 0xcb, 0x2f, 0xca, 0xd5, 0x2f, 0x4e, 0x2d, 0x2a, 0xcb, 0x4c,
0x4e, 0x8d, 0x2f, 0x4b, 0x2d, 0x2a, 0xce, 0xcc, 0xcf, 0xd3, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17,
- 0xe2, 0x45, 0x51, 0xa4, 0xa4,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d8, 0x9d,
+ 0xc4, 0x06, 0x16, 0x37, 0x06, 0x04, 0x00, 0x00, 0xff, 0xff, 0x19, 0x6a, 0x2a, 0xf1, 0xb8, 0x00,
+ 0x00, 0x00,
}
diff --git a/src/test_platform/service_version.proto b/src/test_platform/service_version.proto
index 88de7d9..3c6d9d4 100644
--- a/src/test_platform/service_version.proto
+++ b/src/test_platform/service_version.proto
@@ -13,5 +13,8 @@
// and dut_leaser). It is used to ensure that users keep their local versions
// of such services up-to-date.
message ServiceVersion {
- int64 global = 1;
+ reserved "global";
+ reserved 1;
+
+ int64 skylab_tool = 2;
}
\ No newline at end of file