fru.cpp (cbe68b2daee27befd7b68a974beedc68abf64ee0) fru.cpp (06f9b29e38f2090cfb69c370556f015abad48a02)
1#include "fru.hpp"
2
3#include "common/utils.hpp"
4
5#include <libpldm/entity.h>
6#include <libpldm/utils.h>
7#include <systemd/sd-journal.h>
8

--- 158 unchanged lines hidden (view full) ---

167
168 auto itemIntfsLookup = std::get<2>(dbusInfo);
169
170 for (const auto& object : objects)
171 {
172 const auto& interfaces = object.second;
173 for (const auto& interface : interfaces)
174 {
1#include "fru.hpp"
2
3#include "common/utils.hpp"
4
5#include <libpldm/entity.h>
6#include <libpldm/utils.h>
7#include <systemd/sd-journal.h>
8

--- 158 unchanged lines hidden (view full) ---

167
168 auto itemIntfsLookup = std::get<2>(dbusInfo);
169
170 for (const auto& object : objects)
171 {
172 const auto& interfaces = object.second;
173 for (const auto& interface : interfaces)
174 {
175 if (itemIntfsLookup.find(interface.first) != itemIntfsLookup.end())
175 if (itemIntfsLookup.contains(interface.first))
176 {
177 // checking fru present property is available or not.
178 if (!pldm::utils::checkForFruPresence(object.first.str))
179 {
180 continue;
181 }
182
183 // An exception will be thrown by getRecordInfo, if the item

--- 418 unchanged lines hidden ---
176 {
177 // checking fru present property is available or not.
178 if (!pldm::utils::checkForFruPresence(object.first.str))
179 {
180 continue;
181 }
182
183 // An exception will be thrown by getRecordInfo, if the item

--- 418 unchanged lines hidden ---