Remove assignment.error (#1073)

This commit is contained in:
Scott Redig
2020-01-28 13:10:41 -08:00
committed by GitHub
parent faa730bda8
commit b7850ab81d
8 changed files with 52 additions and 197 deletions

View File

@ -120,10 +120,6 @@
"type": "string",
"description": "Connection information for this Assignment."
},
"error": {
"$ref": "#/definitions/rpcStatus",
"description": "Error when finding an Assignment for this Ticket."
},
"extensions": {
"type": "object",
"additionalProperties": {
@ -405,28 +401,6 @@
},
"description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }"
},
"rpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]."
},
"message": {
"type": "string",
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\n[google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
},
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use."
}
},
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors)."
},
"runtimeStreamError": {
"type": "object",
"properties": {

View File

@ -68,10 +68,6 @@
"type": "string",
"description": "Connection information for this Assignment."
},
"error": {
"$ref": "#/definitions/rpcStatus",
"description": "Error when finding an Assignment for this Ticket."
},
"extensions": {
"type": "object",
"additionalProperties": {
@ -224,28 +220,6 @@
},
"description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }"
},
"rpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]."
},
"message": {
"type": "string",
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\n[google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
},
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use."
}
},
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors)."
},
"runtimeStreamError": {
"type": "object",
"properties": {

View File

@ -164,10 +164,6 @@
"type": "string",
"description": "Connection information for this Assignment."
},
"error": {
"$ref": "#/definitions/rpcStatus",
"description": "Error when finding an Assignment for this Ticket."
},
"extensions": {
"type": "object",
"additionalProperties": {
@ -276,28 +272,6 @@
},
"description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }"
},
"rpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]."
},
"message": {
"type": "string",
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\n[google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
},
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use."
}
},
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors)."
},
"runtimeStreamError": {
"type": "object",
"properties": {

View File

@ -67,10 +67,6 @@
"type": "string",
"description": "Connection information for this Assignment."
},
"error": {
"$ref": "#/definitions/rpcStatus",
"description": "Error when finding an Assignment for this Ticket."
},
"extensions": {
"type": "object",
"additionalProperties": {
@ -324,28 +320,6 @@
},
"description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }"
},
"rpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]."
},
"message": {
"type": "string",
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\n[google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
},
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use."
}
},
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors)."
},
"runtimeStreamError": {
"type": "object",
"properties": {

View File

@ -65,16 +65,13 @@ message Assignment {
// Connection information for this Assignment.
string connection = 1;
// Error when finding an Assignment for this Ticket.
google.rpc.Status error = 3;
// Customized information not inspected by Open Match, to be used by the match
// making function, evaluator, and components making calls to Open Match.
// Optional, depending on the requirements of the connected systems.
map<string, google.protobuf.Any> extensions = 4;
// Deprecated fields.
reserved 2;
reserved 2, 3;
}
// Filters numerical values to only those within a range.

View File

@ -67,10 +67,6 @@
"type": "string",
"description": "Connection information for this Assignment."
},
"error": {
"$ref": "#/definitions/rpcStatus",
"description": "Error when finding an Assignment for this Ticket."
},
"extensions": {
"type": "object",
"additionalProperties": {
@ -240,28 +236,6 @@
},
"description": "`Any` contains an arbitrary serialized protocol buffer message along with a\nURL that describes the type of the serialized message.\n\nProtobuf library provides support to pack/unpack Any values in the form\nof utility functions or additional generated methods of the Any type.\n\nExample 1: Pack and unpack a message in C++.\n\n Foo foo = ...;\n Any any;\n any.PackFrom(foo);\n ...\n if (any.UnpackTo(\u0026foo)) {\n ...\n }\n\nExample 2: Pack and unpack a message in Java.\n\n Foo foo = ...;\n Any any = Any.pack(foo);\n ...\n if (any.is(Foo.class)) {\n foo = any.unpack(Foo.class);\n }\n\n Example 3: Pack and unpack a message in Python.\n\n foo = Foo(...)\n any = Any()\n any.Pack(foo)\n ...\n if any.Is(Foo.DESCRIPTOR):\n any.Unpack(foo)\n ...\n\n Example 4: Pack and unpack a message in Go\n\n foo := \u0026pb.Foo{...}\n any, err := ptypes.MarshalAny(foo)\n ...\n foo := \u0026pb.Foo{}\n if err := ptypes.UnmarshalAny(any, foo); err != nil {\n ...\n }\n\nThe pack methods provided by protobuf library will by default use\n'type.googleapis.com/full.type.name' as the type URL and the unpack\nmethods only use the fully qualified type name after the last '/'\nin the type URL, for example \"foo.bar.com/x/y.z\" will yield type\nname \"y.z\".\n\n\nJSON\n====\nThe JSON representation of an `Any` value uses the regular\nrepresentation of the deserialized, embedded message, with an\nadditional field `@type` which contains the type URL. Example:\n\n package google.profile;\n message Person {\n string first_name = 1;\n string last_name = 2;\n }\n\n {\n \"@type\": \"type.googleapis.com/google.profile.Person\",\n \"firstName\": \u003cstring\u003e,\n \"lastName\": \u003cstring\u003e\n }\n\nIf the embedded message type is well-known and has a custom JSON\nrepresentation, that representation will be embedded adding a field\n`value` which holds the custom JSON in addition to the `@type`\nfield. Example (for message [google.protobuf.Duration][]):\n\n {\n \"@type\": \"type.googleapis.com/google.protobuf.Duration\",\n \"value\": \"1.212s\"\n }"
},
"rpcStatus": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code]."
},
"message": {
"type": "string",
"description": "A developer-facing error message, which should be in English. Any\nuser-facing error message should be localized and sent in the\n[google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client."
},
"details": {
"type": "array",
"items": {
"$ref": "#/definitions/protobufAny"
},
"description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use."
}
},
"description": "The `Status` type defines a logical error model that is suitable for\ndifferent programming environments, including REST APIs and RPC APIs. It is\nused by [gRPC](https://github.com/grpc). Each `Status` message contains\nthree pieces of data: error code, error message, and error details.\n\nYou can find out more about this error model and how to work with it in the\n[API Design Guide](https://cloud.google.com/apis/design/errors)."
},
"runtimeStreamError": {
"type": "object",
"properties": {

View File

@ -7,7 +7,7 @@ import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
any "github.com/golang/protobuf/ptypes/any"
status "google.golang.org/genproto/googleapis/rpc/status"
_ "google.golang.org/genproto/googleapis/rpc/status"
math "math"
)
@ -163,8 +163,6 @@ func (m *SearchFields) GetTags() []string {
type Assignment struct {
// Connection information for this Assignment.
Connection string `protobuf:"bytes,1,opt,name=connection,proto3" json:"connection,omitempty"`
// Error when finding an Assignment for this Ticket.
Error *status.Status `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// Customized information not inspected by Open Match, to be used by the match
// making function, evaluator, and components making calls to Open Match.
// Optional, depending on the requirements of the connected systems.
@ -206,13 +204,6 @@ func (m *Assignment) GetConnection() string {
return ""
}
func (m *Assignment) GetError() *status.Status {
if m != nil {
return m.Error
}
return nil
}
func (m *Assignment) GetExtensions() map[string]*any.Any {
if m != nil {
return m.Extensions
@ -707,55 +698,54 @@ func init() {
func init() { proto.RegisterFile("api/messages.proto", fileDescriptor_cb9fb1f207fd5b8c) }
var fileDescriptor_cb9fb1f207fd5b8c = []byte{
// 799 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x55, 0xdd, 0x6e, 0xc3, 0x34,
0x14, 0x56, 0x93, 0xfe, 0x2c, 0xa7, 0xdd, 0xd6, 0x79, 0x9b, 0xd6, 0x15, 0x86, 0x4a, 0x60, 0xa2,
0x02, 0x91, 0x4a, 0x43, 0x48, 0x88, 0x1f, 0x89, 0x22, 0x3a, 0xd8, 0x10, 0x30, 0xdc, 0x89, 0x0b,
0x6e, 0x2a, 0xb7, 0x71, 0xb3, 0x68, 0xa9, 0x1d, 0x6c, 0x77, 0x5a, 0xdf, 0x82, 0x6b, 0x1e, 0x01,
0x6e, 0x79, 0x25, 0xde, 0x81, 0x4b, 0x14, 0x3b, 0x49, 0xbd, 0xae, 0xb0, 0xcb, 0xdd, 0xd9, 0xe7,
0xe7, 0xf3, 0x77, 0xbe, 0x73, 0x72, 0x02, 0x88, 0xa4, 0xf1, 0x60, 0x41, 0xa5, 0x24, 0x11, 0x95,
0x41, 0x2a, 0xb8, 0xe2, 0xc8, 0xe3, 0x29, 0x65, 0x0b, 0xa2, 0x66, 0x77, 0xdd, 0x93, 0x88, 0xf3,
0x28, 0xa1, 0x03, 0x91, 0xce, 0x06, 0x52, 0x11, 0xb5, 0xcc, 0x63, 0xba, 0xa7, 0xb9, 0x43, 0xdf,
0xa6, 0xcb, 0xf9, 0x80, 0xb0, 0x95, 0x71, 0xf9, 0x7f, 0x3a, 0x50, 0xbf, 0x8d, 0x67, 0xf7, 0x54,
0xa1, 0x3d, 0x70, 0xe2, 0xb0, 0x53, 0xe9, 0x55, 0xfa, 0x1e, 0x76, 0xe2, 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0x99, 0x7d, 0xe3, 0xea, 0x28, 0x93, 0x7a, 0x99,
0x1b, 0x33, 0x05, 0x4d, 0x6b, 0xb6, 0x29, 0x68, 0xfe, 0x39, 0xb8, 0x88, 0xb0, 0xe5, 0xae, 0xbd,
0x28, 0xf7, 0x97, 0x4f, 0xe4, 0x6e, 0xe8, 0xf8, 0xde, 0xa6, 0xdc, 0xaf, 0xa1, 0x73, 0xbd, 0xdd,
0xf8, 0x2a, 0xf8, 0xa5, 0x97, 0x31, 0xf9, 0xd0, 0x50, 0x09, 0xe9, 0xc3, 0x60, 0x7d, 0x1d, 0xa4,
0xf7, 0xd1, 0x20, 0x9d, 0xfe, 0xe1, 0x78, 0x3f, 0xa6, 0x94, 0x69, 0x9a, 0xd3, 0xba, 0x86, 0xfb,
0xe8, 0xdf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x67, 0x0c, 0x15, 0x80, 0x89, 0x08, 0x00, 0x00,
// 783 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x55, 0xcd, 0x6e, 0xd3, 0x4a,
0x14, 0x56, 0xec, 0xfc, 0xd4, 0x27, 0x69, 0x9b, 0x4e, 0x5b, 0x35, 0xcd, 0xbd, 0xbd, 0xca, 0x35,
0x54, 0x44, 0x20, 0x1c, 0xa9, 0x08, 0x09, 0xf1, 0x23, 0x11, 0x44, 0x0a, 0x2d, 0x02, 0x8a, 0x5b,
0xb1, 0x60, 0x13, 0x4d, 0xe2, 0x89, 0x6b, 0xd5, 0x99, 0x31, 0x9e, 0x49, 0xd5, 0xbc, 0x05, 0x6b,
0x1e, 0x01, 0xb6, 0x3c, 0x0a, 0xaf, 0xc0, 0x7b, 0x20, 0xcf, 0xd8, 0xce, 0x34, 0x0d, 0x74, 0xd9,
0xdd, 0xcc, 0xf9, 0xf9, 0xe6, 0x3b, 0xdf, 0x39, 0x3e, 0x06, 0x84, 0xa3, 0xa0, 0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 0xaf, 0x16, 0x6c, 0x4f, 0x7d, 0x87, 0xe8,
0xa4, 0x6e, 0x6a, 0x87, 0xfe, 0x32, 0xa0, 0x24, 0x79, 0xa0, 0x6d, 0x58, 0x92, 0xb4, 0xfa, 0xf9,
0x6f, 0xa7, 0x22, 0xef, 0x07, 0x1e, 0xba, 0x05, 0xcb, 0xca, 0x15, 0x29, 0xb2, 0xe9, 0x54, 0xd7,
0xc6, 0xba, 0xaa, 0xbb, 0xb0, 0xa2, 0x82, 0x46, 0x13, 0xaa, 0x76, 0x89, 0x29, 0xa3, 0x54, 0xea,
0x7e, 0x6a, 0x4c, 0x14, 0x54, 0xad, 0x59, 0xa4, 0xa0, 0xfa, 0x9f, 0xb8, 0x59, 0x84, 0x2e, 0x77,
0xe9, 0x5a, 0xb9, 0x9f, 0x5f, 0x92, 0xbb, 0x22, 0xe3, 0x5b, 0xf3, 0x72, 0xdf, 0x84, 0xce, 0xe5,
0x7a, 0xe5, 0x85, 0xf3, 0xa9, 0x95, 0x30, 0xb9, 0xaf, 0xa8, 0x78, 0xe4, 0xbc, 0x33, 0xbb, 0x76,
0xa2, 0x33, 0xbf, 0x13, 0x0d, 0xbe, 0x19, 0xd6, 0xfb, 0x88, 0x50, 0x49, 0x73, 0x50, 0x96, 0x70,
0x0f, 0x7e, 0x07, 0x00, 0x00, 0xff, 0xff, 0x19, 0x6d, 0x2a, 0xd0, 0x65, 0x08, 0x00, 0x00,
}

View File

@ -98,7 +98,6 @@ func TestAssignTickets(t *testing.T) {
assert.Nil(t, err)
// grpc will write something to the reserved fields of this protobuf object, so we have to do comparisons fields by fields.
assert.Equal(t, test.wantAssignment.GetConnection(), gtResp.GetAssignment().GetConnection())
assert.Equal(t, test.wantAssignment.GetError(), gtResp.GetAssignment().GetError())
}
}
})
@ -154,7 +153,6 @@ func validateTicket(t *testing.T, got *pb.Ticket, want *pb.Ticket) {
assert.Equal(t, got.GetId(), want.GetId())
assert.Equal(t, got.SearchFields.DoubleArgs["test-property"], want.SearchFields.DoubleArgs["test-property"])
assert.Equal(t, got.GetAssignment().GetConnection(), want.GetAssignment().GetConnection())
assert.Equal(t, got.GetAssignment().GetError(), want.GetAssignment().GetError())
}
// validateDelete validates that the ticket is actually deleted from the state storage.