diff options
author | Jiaqing Zhao <jiaqing.zhao@intel.com> | 2022-06-02 12:47:58 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-06-02 18:55:17 +0300 |
commit | aa6d4537531a9242a051579ced5fd06837b5bb24 (patch) | |
tree | a4603d97e292d7ae8386c62948c87de7da492856 /redfish-core/lib/systems.hpp | |
parent | 4ee8e21100dbc8cefd941b9728c740189c4e81b8 (diff) | |
download | bmcweb-aa6d4537531a9242a051579ced5fd06837b5bb24.tar.xz |
Fix indentation of clang-format off blocks
After applying the new clang-format rule in commit 002d39b ("Try to fix
the lambda formatting issue"), some clang-format off blocks need to be
reindented.
Tested:
Build pass. Just removed some whitespaces.
Change-Id: Ib56ebecfaf774fe99230779adba49537c9b58b8d
Signed-off-by: Jiaqing Zhao <jiaqing.zhao@intel.com>
Diffstat (limited to 'redfish-core/lib/systems.hpp')
-rw-r--r-- | redfish-core/lib/systems.hpp | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/redfish-core/lib/systems.hpp b/redfish-core/lib/systems.hpp index fdffe6bc9f..9aac3793c6 100644 --- a/redfish-core/lib/systems.hpp +++ b/redfish-core/lib/systems.hpp @@ -2973,28 +2973,28 @@ inline void requestRoutesSystems(App& app) std::optional<uint64_t> ipsExitTime; // clang-format off - if (!json_util::readJsonPatch( - req, asyncResp->res, - "IndicatorLED", indicatorLed, - "LocationIndicatorActive", locationIndicatorActive, - "AssetTag", assetTag, - "PowerRestorePolicy", powerRestorePolicy, - "PowerMode", powerMode, - "HostWatchdogTimer/FunctionEnabled", wdtEnable, - "HostWatchdogTimer/TimeoutAction", wdtTimeOutAction, - "Boot/BootSourceOverrideTarget", bootSource, - "Boot/BootSourceOverrideMode", bootType, - "Boot/BootSourceOverrideEnabled", bootEnable, - "Boot/AutomaticRetryConfig", bootAutomaticRetry, - "Boot/TrustedModuleRequiredToBoot", bootTrustedModuleRequired, - "IdlePowerSaver/Enabled", ipsEnable, - "IdlePowerSaver/EnterUtilizationPercent", ipsEnterUtil, - "IdlePowerSaver/EnterDwellTimeSeconds", ipsEnterTime, - "IdlePowerSaver/ExitUtilizationPercent", ipsExitUtil, - "IdlePowerSaver/ExitDwellTimeSeconds", ipsExitTime)) - { - return; - } + if (!json_util::readJsonPatch( + req, asyncResp->res, + "IndicatorLED", indicatorLed, + "LocationIndicatorActive", locationIndicatorActive, + "AssetTag", assetTag, + "PowerRestorePolicy", powerRestorePolicy, + "PowerMode", powerMode, + "HostWatchdogTimer/FunctionEnabled", wdtEnable, + "HostWatchdogTimer/TimeoutAction", wdtTimeOutAction, + "Boot/BootSourceOverrideTarget", bootSource, + "Boot/BootSourceOverrideMode", bootType, + "Boot/BootSourceOverrideEnabled", bootEnable, + "Boot/AutomaticRetryConfig", bootAutomaticRetry, + "Boot/TrustedModuleRequiredToBoot", bootTrustedModuleRequired, + "IdlePowerSaver/Enabled", ipsEnable, + "IdlePowerSaver/EnterUtilizationPercent", ipsEnterUtil, + "IdlePowerSaver/EnterDwellTimeSeconds", ipsEnterTime, + "IdlePowerSaver/ExitUtilizationPercent", ipsExitUtil, + "IdlePowerSaver/ExitDwellTimeSeconds", ipsExitTime)) + { + return; + } // clang-format on asyncResp->res.result(boost::beast::http::status::no_content); |