diff options
author | PavanKumarIntel <pavanx.kumar.martha@intel.com> | 2024-03-15 08:47:02 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2024-03-16 18:35:02 +0300 |
commit | da39350a58e088d3bfc5f8de09953775b13a3370 (patch) | |
tree | f891d7ee95a82bbe221ffd699d9a351596bcf204 /redfish-core | |
parent | ad622676a894110f033a99462742d6106320cb68 (diff) | |
download | bmcweb-da39350a58e088d3bfc5f8de09953775b13a3370.tar.xz |
Fix PID Zone interface name
The interface name is being loaded incorrectly which causes the DBus
call to fail resulting in Internal server error.
This commit changes the interface to the correct name.
This is a regression caused by ea2b670d306d85d6975b6174024985491af04a89
TESTED:
- PATCH /redfish/v1/Managers/bmc with below body succeeded
{
"Oem": {
"OpenBmc": {
"Fan": {
"FanZones": {
"Left": {
"MinThermalOutput": 30.0
}
}
}
}
}
}
Change-Id: I0bcf858cd541dc11e802431ad983954a57d8c790
Signed-off-by: PavanKumarIntel <pavanx.kumar.martha@intel.com>
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/lib/managers.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/managers.hpp b/redfish-core/lib/managers.hpp index 392d73984f..527076fbd4 100644 --- a/redfish-core/lib/managers.hpp +++ b/redfish-core/lib/managers.hpp @@ -1534,7 +1534,7 @@ struct SetPIDValues : std::enable_shared_from_this<SetPIDValues> { if (type == "FanZones") { - iface = pidConfigurationIface; + iface = pidZoneConfigurationIface; findInterface = true; break; } |