forked from mirrors/gecko-dev
Bug 1898428 - Fix the format of legacy crash pings sent by the crash reporter client r=KrisWright
Differential Revision: https://phabricator.services.mozilla.com/D211319
This commit is contained in:
parent
d2a5247348
commit
a38b9a65e0
2 changed files with 3 additions and 2 deletions
|
|
@ -20,6 +20,7 @@ include!(concat!(env!("OUT_DIR"), "/ping_annotations.rs"));
|
||||||
#[derive(Serialize)]
|
#[derive(Serialize)]
|
||||||
#[serde(tag = "type", rename_all = "camelCase")]
|
#[serde(tag = "type", rename_all = "camelCase")]
|
||||||
pub enum Ping<'a> {
|
pub enum Ping<'a> {
|
||||||
|
#[serde(rename_all = "camelCase")]
|
||||||
Crash {
|
Crash {
|
||||||
id: Uuid,
|
id: Uuid,
|
||||||
version: u64,
|
version: u64,
|
||||||
|
|
|
||||||
|
|
@ -311,8 +311,8 @@ impl AssertFiles {
|
||||||
"type": "crash",
|
"type": "crash",
|
||||||
"id": MOCK_PING_UUID,
|
"id": MOCK_PING_UUID,
|
||||||
"version": 4,
|
"version": 4,
|
||||||
"creation_date": MOCK_CURRENT_TIME,
|
"creationDate": MOCK_CURRENT_TIME,
|
||||||
"client_id": "telemetry_client",
|
"clientId": "telemetry_client",
|
||||||
"payload": {
|
"payload": {
|
||||||
"sessionId": "telemetry_session",
|
"sessionId": "telemetry_session",
|
||||||
"version": 1,
|
"version": 1,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue