diff options
author | Potin Lai <potin.lai@quantatw.com> | 2023-11-09 07:18:20 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-11-20 19:48:50 +0300 |
commit | 7a696974d7a987e3eb135a6cbad0a4ace8d109d2 (patch) | |
tree | 6b9160bdcecfcbe2561e4eabed660196a4c2be40 /.dockerignore | |
parent | 3e7a8da60d70f4c42ae8ce0a3ecb0709194eb831 (diff) | |
download | bmcweb-7a696974d7a987e3eb135a6cbad0a4ace8d109d2.tar.xz |
managers: use async_method_call() set PID properties
In sdbusplus::asio::setProperty(), the property value will be wrapped
by std:variant automaticly, it will fail and show `Invalid argument
[generic:22]` error if we pass the property value that has been wrapped
by std::variant into sdbusplus::asio::setProperty().
Because the type of property.second is DbusVariantType, we cannot use
sdbusplus::asio::setProperty() for property setting, so change it back
to use async_method_call().
Tested on Bletchley:
Success PATCH the properties of StepwiseControllers.
```
{
"Oem": {
"OpenBmc": {
"Fan": {
"StepwiseControllers": {
"Test1": {
"NegativeHysteresis": 7.0,
"PositiveHysteresis": 8.0
}
}
}
}
}
}
```
Signed-off-by: Potin Lai <potin.lai@quantatw.com>
Change-Id: I92d9e0d6ffe97fa6ce2905e17497d4d0fffa1d58
Diffstat (limited to '.dockerignore')
0 files changed, 0 insertions, 0 deletions