Merge ~sylvain-pineau/plainbox-provider-checkbox:fix-1762546 into plainbox-provider-checkbox:master

Proposed by Sylvain Pineau
Status: Merged
Approved by: Sylvain Pineau
Approved revision: 8c39649fea15993f57d03c55e7ced8500c808e48
Merged at revision: c03d17f0da19be9a7f5e2e6ff6bb72441c863f53
Proposed branch: ~sylvain-pineau/plainbox-provider-checkbox:fix-1762546
Merge into: plainbox-provider-checkbox:master
Diff against target: 17 lines (+3/-3)
1 file modified
units/submission/jobs.pxu (+3/-3)
Reviewer Review Type Date Requested Status
Sylvain Pineau (community) Approve
Review via email: mp+343015@code.launchpad.net

Description of the change

Fixes the linked bug, tested on 14.04 and 16.04.

double quotes are gone around members

To post a comment you must log in.
Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

self-approved

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/units/submission/jobs.pxu b/units/submission/jobs.pxu
2index f6f73bc..43defe3 100644
3--- a/units/submission/jobs.pxu
4+++ b/units/submission/jobs.pxu
5@@ -22,9 +22,9 @@ requires:
6 user: root
7 command:
8 dmidecode -t bios -t system | python3 -m plainbox dev parse dmidecode | \
9- jq '[.[0]."_attributes" +
10- {"category": .[0]."category"}, .[1]."_attributes" +
11- {"category": .[1]."category"}]'
12+ jq '[.[0]._attributes +
13+ {"category": .[0].category}, .[1]._attributes +
14+ {"category": .[1].category}]'
15 estimated_duration: 1
16 _description: Attaches dmidecode output
17 _summary: Attaches json dumps of udev_resource raw dmi devices

Subscribers

People subscribed via source and target branches