prettier: re-format
Prettier is enabled in openbmc-build-scripts on Markdown, JSON, and YAML
files to have consistent formatting for these file types. Re-run the
formatter on the whole repository.
Change-Id: I0d25f27a5e449578967915d9f570cc29246927d7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/libpldmresponder/examples/fru/Cpu_General.json b/libpldmresponder/examples/fru/Cpu_General.json
index 3595d79..e0b02d9 100644
--- a/libpldmresponder/examples/fru/Cpu_General.json
+++ b/libpldmresponder/examples/fru/Cpu_General.json
@@ -1,36 +1,33 @@
// This JSON has the information needed to create General FRU record for FRU of
// type Cpu. The FRU fields are based on the PLDM specification DSP0257.
{
- "record_details":
- {
+ "record_details": {
// FRU Record Type - General FRU Record
- "fru_record_type" : 1,
+ "fru_record_type": 1,
// Encoding Type for FRU fields - ASCII
"fru_encoding_type": 1,
"dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Cpu"
- },
- "fru_fields":[
- {
- // FRU Field Type 3 - Part Number
- "fru_field_type" : 3,
- // D-Bus property to read and populate the FRU field
- "dbus":
- {
- "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
- "property_name" : "PartNumber",
- "property_type" : "string"
+ },
+ "fru_fields": [
+ {
+ // FRU Field Type 3 - Part Number
+ "fru_field_type": 3,
+ // D-Bus property to read and populate the FRU field
+ "dbus": {
+ "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
+ "property_name": "PartNumber",
+ "property_type": "string"
}
- },
- {
- // FRU Field Type 4 - Serial Number
- "fru_field_type" : 4,
- // D-Bus property to read and populate the FRU field
- "dbus":
- {
- "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
- "property_name" : "SerialNumber",
- "property_type" : "string"
+ },
+ {
+ // FRU Field Type 4 - Serial Number
+ "fru_field_type": 4,
+ // D-Bus property to read and populate the FRU field
+ "dbus": {
+ "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
+ "property_name": "SerialNumber",
+ "property_type": "string"
}
- }
+ }
]
}