commit | ad6a9b69ce9b43ab454609f7a4f8f1f0d94a61de | [log] [tgz] |
---|---|---|
author | John Wang <wangzhiqiang02@ieisystem.com> | Tue Jun 04 15:20:22 2024 +0800 |
committer | John Wang <wangzhiqiang02@ieisystem.com> | Thu Jun 06 14:21:49 2024 +0800 |
tree | 06515be2917701f00b3f353ea5cc1971e07302f1 | |
parent | ef3194d4f723b81353b6b042198e2cb324fdc4ad [diff] |
Add utils.cpp file In the IPMI handling logic, there are many checks to determine if DBus communication is successful. If not, it logs an error and returns an error code. This logic is now placed in utils to avoid code duplication. Change-Id: Ie14ba31130fa5476ffc1840f076aa139879f4ff6 Signed-off-by: John Wang <wangzhiqiang02@ieisystem.com>