summaryrefslogtreecommitdiffstats
path: root/xyz
diff options
context:
space:
mode:
authorMichael Tritz <mtritz@us.ibm.com>2017-08-31 14:44:01 -0500
committerBrad Bishop <bradleyb@fuzziesquirrel.com>2017-09-25 16:23:12 +0000
commit02b39246d45ea029a1652a49cc20eab7723dd63b (patch)
tree297abba9d149d3f7395bf0df4c4010bdafb51659 /xyz
parentaf88a43d16ea02027e4eb4c799c41ed4f61d502f (diff)
downloadphosphor-dbus-interfaces-02b39246d45ea029a1652a49cc20eab7723dd63b.tar.gz
phosphor-dbus-interfaces-02b39246d45ea029a1652a49cc20eab7723dd63b.zip
Add InternalFailure error to definition for factory reset interface
In the event that one of the factory reset functions fails, we need to create an error indicating that to the error log. This commit extends the factory reset interface with the InternalFailure error for that purpose. Resolves openbmc/openbmc#1721 Change-Id: Ieefa0330d78aa8e6b7d344e4d6b8b067fdb8a7c8 Signed-off-by: Michael Tritz <mtritz@us.ibm.com>
Diffstat (limited to 'xyz')
-rw-r--r--xyz/openbmc_project/Common/FactoryReset.interface.yaml2
1 files changed, 2 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Common/FactoryReset.interface.yaml b/xyz/openbmc_project/Common/FactoryReset.interface.yaml
index cc5c682..93943f9 100644
--- a/xyz/openbmc_project/Common/FactoryReset.interface.yaml
+++ b/xyz/openbmc_project/Common/FactoryReset.interface.yaml
@@ -4,3 +4,5 @@ methods:
- name: Reset
description: >
Generic method to start factory reset. Implemented by each service.
+ errors:
+ - xyz.openbmc_project.Common.Error.InternalFailure
OpenPOWER on IntegriCloud