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/test/fru_jsons/fru_master/fru_master.json b/libpldmresponder/test/fru_jsons/fru_master/fru_master.json
index 5a87eb7..ab3f13a 100644
--- a/libpldmresponder/test/fru_jsons/fru_master/fru_master.json
+++ b/libpldmresponder/test/fru_jsons/fru_master/fru_master.json
@@ -1,21 +1,21 @@
{
- "FruDBusLookupMap":{
- "xyz.openbmc_project.Inventory.Item.Chassis" : 45,
- "xyz.openbmc_project.Inventory.Item.Board": 60,
- "xyz.openbmc_project.Inventory.Item.PCIeDevice": 61,
- "xyz.openbmc_project.Inventory.Item.Board.Motherboard": 64,
- "xyz.openbmc_project.Inventory.Item.Dimm": 66,
- "xyz.openbmc_project.Inventory.Item.Panel": 69,
- "xyz.openbmc_project.Inventory.Item.DiskBackplane": 73,
- "xyz.openbmc_project.Inventory.Item.Fan": 93,
- "xyz.openbmc_project.Inventory.Item.PowerSupply": 120,
- "xyz.openbmc_project.Inventory.Item.Battery": 121,
- "xyz.openbmc_project.Inventory.Item.Vrm": 123,
- "xyz.openbmc_project.Inventory.Item.Cpu": 135,
- "xyz.openbmc_project.Inventory.Item.Bmc": 137,
- "xyz.openbmc_project.Inventory.Item.Connector": 185,
- "xyz.openbmc_project.Inventory.Item.PCIeSlot": 186,
- "xyz.openbmc_project.Inventory.Item.System": 11521,
- "xyz.openbmc_project.Inventory.Item.Tpm": 24576
- }
+ "FruDBusLookupMap": {
+ "xyz.openbmc_project.Inventory.Item.Chassis": 45,
+ "xyz.openbmc_project.Inventory.Item.Board": 60,
+ "xyz.openbmc_project.Inventory.Item.PCIeDevice": 61,
+ "xyz.openbmc_project.Inventory.Item.Board.Motherboard": 64,
+ "xyz.openbmc_project.Inventory.Item.Dimm": 66,
+ "xyz.openbmc_project.Inventory.Item.Panel": 69,
+ "xyz.openbmc_project.Inventory.Item.DiskBackplane": 73,
+ "xyz.openbmc_project.Inventory.Item.Fan": 93,
+ "xyz.openbmc_project.Inventory.Item.PowerSupply": 120,
+ "xyz.openbmc_project.Inventory.Item.Battery": 121,
+ "xyz.openbmc_project.Inventory.Item.Vrm": 123,
+ "xyz.openbmc_project.Inventory.Item.Cpu": 135,
+ "xyz.openbmc_project.Inventory.Item.Bmc": 137,
+ "xyz.openbmc_project.Inventory.Item.Connector": 185,
+ "xyz.openbmc_project.Inventory.Item.PCIeSlot": 186,
+ "xyz.openbmc_project.Inventory.Item.System": 11521,
+ "xyz.openbmc_project.Inventory.Item.Tpm": 24576
+ }
}
diff --git a/libpldmresponder/test/fru_jsons/good/Board_General.json b/libpldmresponder/test/fru_jsons/good/Board_General.json
index d4efdab..79b9acf 100644
--- a/libpldmresponder/test/fru_jsons/good/Board_General.json
+++ b/libpldmresponder/test/fru_jsons/good/Board_General.json
@@ -1,29 +1,25 @@
{
- "record_details":
- {
- "fru_record_type" : 1,
+ "record_details": {
+ "fru_record_type": 1,
"fru_encoding_type": 1,
"dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Board"
- },
- "fru_fields":[
- {
- "fru_field_type" : 3,
- "dbus":
- {
- "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
- "property_name" : "PartNumber",
- "property_type" : "string"
+ },
+ "fru_fields": [
+ {
+ "fru_field_type": 3,
+ "dbus": {
+ "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
+ "property_name": "PartNumber",
+ "property_type": "string"
}
- },
- {
- "fru_field_type" : 4,
- "dbus":
- {
- "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
- "property_name" : "SerialNumber",
- "property_type" : "string"
+ },
+ {
+ "fru_field_type": 4,
+ "dbus": {
+ "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
+ "property_name": "SerialNumber",
+ "property_type": "string"
}
- }
+ }
]
}
-
diff --git a/libpldmresponder/test/fru_jsons/good/Board_VINI.json b/libpldmresponder/test/fru_jsons/good/Board_VINI.json
index 1ef87ef..c14f7c3 100644
--- a/libpldmresponder/test/fru_jsons/good/Board_VINI.json
+++ b/libpldmresponder/test/fru_jsons/good/Board_VINI.json
@@ -1,30 +1,25 @@
{
- "record_details":
- {
- "fru_record_type" : 254,
+ "record_details": {
+ "fru_record_type": 254,
"fru_encoding_type": 1,
"dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Board"
- },
- "fru_fields":[
- {
- "fru_field_type" : 2,
- "dbus":
- {
- "interface" : "com.ibm.ipzvpd.VINI",
- "property_name" : "RT",
- "property_type" : "string"
+ },
+ "fru_fields": [
+ {
+ "fru_field_type": 2,
+ "dbus": {
+ "interface": "com.ibm.ipzvpd.VINI",
+ "property_name": "RT",
+ "property_type": "string"
}
- },
- {
- "fru_field_type" : 3,
- "dbus":
- {
- "interface" : "com.ibm.ipzvpd.VINI",
- "property_name" : "B3",
- "property_type" : "bytearray"
+ },
+ {
+ "fru_field_type": 3,
+ "dbus": {
+ "interface": "com.ibm.ipzvpd.VINI",
+ "property_name": "B3",
+ "property_type": "bytearray"
}
- }
-
+ }
]
}
-
diff --git a/libpldmresponder/test/fru_jsons/good/Cpu_General.json b/libpldmresponder/test/fru_jsons/good/Cpu_General.json
index 01a378a..8f3d3be 100644
--- a/libpldmresponder/test/fru_jsons/good/Cpu_General.json
+++ b/libpldmresponder/test/fru_jsons/good/Cpu_General.json
@@ -1,28 +1,25 @@
{
- "record_details":
- {
- "fru_record_type" : 1,
+ "record_details": {
+ "fru_record_type": 1,
"fru_encoding_type": 1,
"dbus_interface_name": "xyz.openbmc_project.Inventory.Item.Cpu"
- },
- "fru_fields":[
- {
- "fru_field_type" : 3,
- "dbus":
- {
- "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
- "property_name" : "PartNumber",
- "property_type" : "string"
+ },
+ "fru_fields": [
+ {
+ "fru_field_type": 3,
+ "dbus": {
+ "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
+ "property_name": "PartNumber",
+ "property_type": "string"
}
- },
- {
- "fru_field_type" : 4,
- "dbus":
- {
- "interface" : "xyz.openbmc_project.Inventory.Decorator.Asset",
- "property_name" : "SerialNumber",
- "property_type" : "string"
+ },
+ {
+ "fru_field_type": 4,
+ "dbus": {
+ "interface": "xyz.openbmc_project.Inventory.Decorator.Asset",
+ "property_name": "SerialNumber",
+ "property_type": "string"
}
- }
+ }
]
}
diff --git a/libpldmresponder/test/fru_jsons/good/FRU_Master.json b/libpldmresponder/test/fru_jsons/good/FRU_Master.json
index fa2c405..9444d80 100644
--- a/libpldmresponder/test/fru_jsons/good/FRU_Master.json
+++ b/libpldmresponder/test/fru_jsons/good/FRU_Master.json
@@ -1,14 +1,14 @@
{
- "service":"xyz.openbmc_project.Inventory.Manager",
- "root_path":"/xyz/openbmc_project/inventory/system/",
- "entities":[
+ "service": "xyz.openbmc_project.Inventory.Manager",
+ "root_path": "/xyz/openbmc_project/inventory/system/",
+ "entities": [
{
- "interface" : "xyz.openbmc_project.Inventory.Item.Board",
- "entity_type" : 64
+ "interface": "xyz.openbmc_project.Inventory.Item.Board",
+ "entity_type": 64
},
{
- "interface" : "xyz.openbmc_project.Inventory.Item.Cpu",
- "entity_type" : 135
+ "interface": "xyz.openbmc_project.Inventory.Item.Cpu",
+ "entity_type": 135
}
]
}