diff options
author | Adriana Kobylak <anoo@us.ibm.com> | 2018-10-17 14:56:29 -0500 |
---|---|---|
committer | Adriana Kobylak <anoo@us.ibm.com> | 2018-10-17 15:13:57 -0500 |
commit | 43699ca702068934add136309f28fa427c0d88e6 (patch) | |
tree | 5a9a3c8b5ef14830fec79edf2327f1a3ce61a15f /xyz/openbmc_project/Software | |
parent | 71f6e739d51dd3b02f0dbaa0f54548cc7cc71f98 (diff) | |
download | phosphor-bmc-code-mgmt-43699ca702068934add136309f28fa427c0d88e6.tar.gz phosphor-bmc-code-mgmt-43699ca702068934add136309f28fa427c0d88e6.zip |
Rename Version::Errors to Image::Errors
The Version interface is a public interface, and errors are being
added to it:
https://gerrit.openbmc-project.xyz/#/c/openbmc/phosphor-dbus-interfaces/+/13836/
This conflicts with the internal Version errors, so rename the
internal one to an Image namespace since that's not a public
interface and make more sense since the errors deal with failures
during image file extraction.
Tested:
Uploaded an invalid tar file (u-boot.bin) and the new Image::Error
was created:
"/xyz/openbmc_project/logging/entry/2": {
"AdditionalData": [
"PATH=/tmp/images/u-boot.bin",
"_PID=1348"
],
"Description": "An internal BMC error occurred",
"EventID": "None",
"Id": 2,
"Message": "xyz.openbmc_project.Software.Image.Error.UnTarFailure",
Change-Id: I6f6c84e2ea782c8ebc952bba4d5cee6be232f08f
Signed-off-by: Adriana Kobylak <anoo@us.ibm.com>
Diffstat (limited to 'xyz/openbmc_project/Software')
-rw-r--r-- | xyz/openbmc_project/Software/Image.errors.yaml (renamed from xyz/openbmc_project/Software/Version.errors.yaml) | 0 | ||||
-rw-r--r-- | xyz/openbmc_project/Software/Image.metadata.yaml (renamed from xyz/openbmc_project/Software/Version.metadata.yaml) | 0 |
2 files changed, 0 insertions, 0 deletions
diff --git a/xyz/openbmc_project/Software/Version.errors.yaml b/xyz/openbmc_project/Software/Image.errors.yaml index 67d6c20..67d6c20 100644 --- a/xyz/openbmc_project/Software/Version.errors.yaml +++ b/xyz/openbmc_project/Software/Image.errors.yaml diff --git a/xyz/openbmc_project/Software/Version.metadata.yaml b/xyz/openbmc_project/Software/Image.metadata.yaml index 5e749c9..5e749c9 100644 --- a/xyz/openbmc_project/Software/Version.metadata.yaml +++ b/xyz/openbmc_project/Software/Image.metadata.yaml |