diff options
Diffstat (limited to 'redfish-core/include/utils')
-rw-r--r-- | redfish-core/include/utils/telemetry_utils.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redfish-core/include/utils/telemetry_utils.hpp b/redfish-core/include/utils/telemetry_utils.hpp index 33e31f0af4..c5c88fa4e5 100644 --- a/redfish-core/include/utils/telemetry_utils.hpp +++ b/redfish-core/include/utils/telemetry_utils.hpp @@ -20,14 +20,14 @@ namespace telemetry constexpr const char* service = "xyz.openbmc_project.Telemetry"; constexpr const char* reportInterface = "xyz.openbmc_project.Telemetry.Report"; -inline std::string getDbusReportPath(const std::string& id) +inline std::string getDbusReportPath(std::string_view id) { sdbusplus::message::object_path reportsPath( "/xyz/openbmc_project/Telemetry/Reports/TelemetryService"); return {reportsPath / id}; } -inline std::string getDbusTriggerPath(const std::string& id) +inline std::string getDbusTriggerPath(std::string_view id) { sdbusplus::message::object_path triggersPath( "/xyz/openbmc_project/Telemetry/Triggers/TelemetryService"); |