| commit | bea5392552b3b6445adf093b97c97512d69db160 | [log] [tgz] |
|---|---|---|
| author | Vernon Mauery <vernon.mauery@linux.intel.com> | Wed Apr 03 09:37:43 2019 -0700 |
| committer | Vernon Mauery <vernon.mauery@linux.intel.com> | Mon Apr 08 10:31:56 2019 -0700 |
| tree | 388e607aa75431a9eb945c3dbcb1ccba36a5b61f | |
| parent | e08fbffcd9bd1976f7d26d48bf7a4c3e5843d4a8 [diff] |
Add helper functions to simplify error responses
Most IPMI commands have some error response. This makes it more
intuitive what is happening, changing
return ipmi::response(cc::CommandNotAvailable);
to
return ipmi::responseCommandNotAvailable();
which is parallel to the success respones of:
return ipmi::responseSuccess();
Change-Id: Ibbd401c4007a02e91ab4983814b920d6d7f02404
Signed-off-by: Vernon Mauery <vernon.mauery@linux.intel.com>
To build this package, do the following steps:
1. ./bootstrap.sh
2. ./configure ${CONFIGURE_FLAGS}
3. make
To clean the repository run ./bootstrap.sh clean.