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)]
|
||||
#[serde(tag = "type", rename_all = "camelCase")]
|
||||
pub enum Ping<'a> {
|
||||
#[serde(rename_all = "camelCase")]
|
||||
Crash {
|
||||
id: Uuid,
|
||||
version: u64,
|
||||
|
|
|
|||
|
|
@ -311,8 +311,8 @@ impl AssertFiles {
|
|||
"type": "crash",
|
||||
"id": MOCK_PING_UUID,
|
||||
"version": 4,
|
||||
"creation_date": MOCK_CURRENT_TIME,
|
||||
"client_id": "telemetry_client",
|
||||
"creationDate": MOCK_CURRENT_TIME,
|
||||
"clientId": "telemetry_client",
|
||||
"payload": {
|
||||
"sessionId": "telemetry_session",
|
||||
"version": 1,
|
||||
|
|
|
|||
Loading…
Reference in a new issue