From 17792cda3aa968116998391ef0982d7a9989c8da Mon Sep 17 00:00:00 2001 From: Matthew Barth Date: Thu, 10 May 2018 11:39:46 -0500 Subject: cooling-type: Use lookupAndCallMethod Have phosphor-cooling-type fail with a DBusMethodError exception when a failure occurs on updating inventory. Resolves: openbmc/openbmc#2628 Tested: Cooling type properties still set correctly Change-Id: Ia7e3379fc7d75c70e9c71d4f940f9da84b9f5774 Signed-off-by: Matthew Barth --- cooling-type/cooling_type.hpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'cooling-type/cooling_type.hpp') diff --git a/cooling-type/cooling_type.hpp b/cooling-type/cooling_type.hpp index aa02bfa..88e1335 100644 --- a/cooling-type/cooling_type.hpp +++ b/cooling-type/cooling_type.hpp @@ -9,9 +9,6 @@ namespace cooling namespace type { -constexpr auto INVENTORY_PATH = "/xyz/openbmc_project/inventory"; -constexpr auto INVENTORY_INTF = "xyz.openbmc_project.Inventory.Manager"; - struct FreeEvDev { void operator()(struct libevdev* device) const -- cgit v1.2.1