Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions fboss/platform/platform_manager/ExplorationErrors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,15 @@ bool isExpectedError(
}
}

// These idproms do not support Meta EEPROM format, but can still provide
// useful info through WeutilDarwin
if (*platformConfig.platformName() == "DARWIN" &&
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add detailed comments on why this exception.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added comments. Let me know if it is acceptable.

errorType == ExplorationErrorType::IDPROM_READ &&
(devicePath == "/RACKMON_SLOT@0/[IDPROM]" ||
devicePath == "/PEM_SLOT@0/[IDPROM]")) {
return true;
}

return false;
}

Expand Down
Loading