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/pdr/effecter_pdr.json b/libpldmresponder/examples/pdr/effecter_pdr.json
index ccdc7ac..3b7fa06 100644
--- a/libpldmresponder/examples/pdr/effecter_pdr.json
+++ b/libpldmresponder/examples/pdr/effecter_pdr.json
@@ -1,127 +1,115 @@
{
- "effecterPDRs": [
- {
- "pdrType": 11,
- "entries": [
+ "effecterPDRs": [
{
- "entity_path": "/xyz/openbmc_project/foo",
- "type": 33,
- "instance": 0,
- "container": 0,
- "effecters": [
- {
- "set": {
- "id": 196,
- "size": 1,
- "states": [
- 1
- ]
- },
- "dbus": {
- "path": "/foo/bar",
- "interface": "xyz.openbmc_project.Foo.Bar",
- "property_name": "propertyName",
- "property_type": "string",
- "property_values": [
- "xyz.openbmc_project.Foo.Bar.V1"
- ]
- }
- },
- {
- "set": {
- "id": 196,
- "size": 1,
- "states": [
- 1,
- 2
- ]
- },
- "dbus": {
- "path": "/foo/bar",
- "interface": "xyz.openbmc_project.Foo.Bar",
- "property_name": "propertyName",
- "property_type": "string",
- "property_values": [
- "xyz.openbmc_project.Foo.Bar.V1",
- "xyz.openbmc_project.Foo.Bar.V2"
- ]
- }
- }
- ]
+ "pdrType": 11,
+ "entries": [
+ {
+ "entity_path": "/xyz/openbmc_project/foo",
+ "type": 33,
+ "instance": 0,
+ "container": 0,
+ "effecters": [
+ {
+ "set": {
+ "id": 196,
+ "size": 1,
+ "states": [1]
+ },
+ "dbus": {
+ "path": "/foo/bar",
+ "interface": "xyz.openbmc_project.Foo.Bar",
+ "property_name": "propertyName",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.Foo.Bar.V1"
+ ]
+ }
+ },
+ {
+ "set": {
+ "id": 196,
+ "size": 1,
+ "states": [1, 2]
+ },
+ "dbus": {
+ "path": "/foo/bar",
+ "interface": "xyz.openbmc_project.Foo.Bar",
+ "property_name": "propertyName",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.Foo.Bar.V1",
+ "xyz.openbmc_project.Foo.Bar.V2"
+ ]
+ }
+ }
+ ]
+ },
+ {
+ "entity_path": "/xyz/openbmc_project/foo",
+ "type": 100,
+ "instance": 0,
+ "container": 0,
+ "effecters": [
+ {
+ "set": {
+ "id": 197,
+ "size": 1,
+ "states": [1]
+ },
+ "dbus": {
+ "path": "/foo/bar",
+ "interface": "xyz.openbmc_project.Foo.Bar",
+ "property_name": "propertyName",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.Foo.Bar.V1"
+ ]
+ }
+ },
+ {
+ "set": {
+ "id": 198,
+ "size": 2,
+ "states": [1, 2, 5, 15]
+ },
+ "dbus": {
+ "path": "/foo/bar/baz",
+ "interface": "xyz.openbmc_project.Foo.Bar.Baz",
+ "property_name": "propertyName",
+ "property_type": "string",
+ "property_values": [
+ "xyz.openbmc_project.Foo.Bar.Baz.V1",
+ "xyz.openbmc_project.Foo.Bar.Baz.V2",
+ "xyz.openbmc_project.Foo.Bar.Baz.V5",
+ "xyz.openbmc_project.Foo.Bar.Baz.V15"
+ ]
+ }
+ }
+ ]
+ }
+ ]
},
{
- "entity_path": "/xyz/openbmc_project/foo",
- "type": 100,
- "instance": 0,
- "container": 0,
- "effecters": [
- {
- "set": {
- "id": 197,
- "size": 1,
- "states": [
- 1
- ]
- },
- "dbus": {
- "path": "/foo/bar",
- "interface": "xyz.openbmc_project.Foo.Bar",
- "property_name": "propertyName",
- "property_type": "string",
- "property_values": [
- "xyz.openbmc_project.Foo.Bar.V1"
- ]
- }
- },
- {
- "set": {
- "id": 198,
- "size": 2,
- "states": [
- 1,
- 2,
- 5,
- 15
- ]
- },
- "dbus": {
- "path": "/foo/bar/baz",
- "interface": "xyz.openbmc_project.Foo.Bar.Baz",
- "property_name": "propertyName",
- "property_type": "string",
- "property_values": [
- "xyz.openbmc_project.Foo.Bar.Baz.V1",
- "xyz.openbmc_project.Foo.Bar.Baz.V2",
- "xyz.openbmc_project.Foo.Bar.Baz.V5",
- "xyz.openbmc_project.Foo.Bar.Baz.V15"
- ]
- }
- }
- ]
+ "pdrType": 9,
+ "entries": [
+ {
+ "entity_path": "/xyz/openbmc_project/foo",
+ "type": 0,
+ "instance": 0,
+ "container": 0,
+ "base_unit": 21,
+ "rate_unit": 3,
+ "effecter_resolution_init": 1,
+ "effecter_data_size": 4,
+ "range_field_format": 4,
+ "dbus": {
+ "path": "/foo/bar",
+ "interface": "xyz.openbmc_project.Foo.Bar",
+ "property_name": "propertyName",
+ "property_type": "uint64_t"
+ }
+ }
+ ]
}
- ]
- },
- {
- "pdrType": 9,
- "entries": [
- {
- "entity_path": "/xyz/openbmc_project/foo",
- "type": 0,
- "instance": 0,
- "container": 0,
- "base_unit": 21,
- "rate_unit": 3,
- "effecter_resolution_init": 1,
- "effecter_data_size": 4,
- "range_field_format": 4,
- "dbus": {
- "path": "/foo/bar",
- "interface": "xyz.openbmc_project.Foo.Bar",
- "property_name": "propertyName",
- "property_type": "uint64_t"
- }
- }
- ]
- }
- ]
-}
\ No newline at end of file
+ ]
+}