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/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
}
]
}